SPWebApplication.GetRequestPath Method
Gets the path of the Web request.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Protected Shared Function GetRequestPath ( _
binding As String, _
secure As Boolean _
) As String
Dim binding As String
Dim secure As Boolean
Dim returnValue As String
returnValue = SPWebApplication.GetRequestPath(binding, _
secure)
protected static string GetRequestPath(
string binding,
bool secure
)
Parameters
- binding
Type: System.String
IP address, host header, or machine name, in addition to other components associated with the URL.
- secure
Type: System.Boolean
A value of true specifies that the SPWebApplication should use a secure hypertext transfer session with the specified site address.
Return Value
Type: System.String
Remarks
A secure hypertext transfer session is an http Protocol session that uses the Secure Sockets Layer (SSL) encryption protocol invoked on a Web server.
See Also
Reference
Microsoft.SharePoint.Administration Namespace