This documentation is archived and is not being maintained.

SPSite.Protocol Property

Windows SharePoint Services 3

Gets the protocol, HTTP or HTTPS, that is used by the server.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string Protocol { get; }

Property Value

Type: System.String
A string that specifies the protocol and ends with a colon (:).