SPWebApplicationBuilder.UseSecureSocketsLayer Property
Gets or sets a Boolean value that specifies whether the new Internet Information Services (IIS) Web site that hosts the Web application is configured to use SSL.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property UseSecureSocketsLayer As Boolean
Get
Set
'Usage
Dim instance As SPWebApplicationBuilder
Dim value As Boolean
value = instance.UseSecureSocketsLayer
instance.UseSecureSocketsLayer = value
public bool UseSecureSocketsLayer { get; set; }
Property Value
Type: System.Boolean
true to configure the IIS Web site to use SSL; otherwise, false. The default value is false.
Remarks
The UseSecureSocketsLayer property only configures the IIS bindings. The SSL certificates must still be applied to each IIS Web site manually.