Protocol Property

The Protocol property of the SPSite class gets the protocol, HTTP or HTTPS, that is used by the server.

Property Value

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security