SPIisSettings constructor (String, Boolean, Boolean, SPServerBinding, SPSecureBinding, DirectoryInfo)
Creates a new instance of the SPIisSettings class based on specified settings.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
serverComment As String, _
allowAnonymous As Boolean, _
disableKerberos As Boolean, _
serverBinding As SPServerBinding, _
secureBinding As SPSecureBinding, _
path As DirectoryInfo _
)
'Usage
Dim serverComment As String
Dim allowAnonymous As Boolean
Dim disableKerberos As Boolean
Dim serverBinding As SPServerBinding
Dim secureBinding As SPSecureBinding
Dim path As DirectoryInfo
Dim instance As New SPIisSettings(serverComment, _
allowAnonymous, disableKerberos, _
serverBinding, secureBinding, path)
public SPIisSettings(
string serverComment,
bool allowAnonymous,
bool disableKerberos,
SPServerBinding serverBinding,
SPSecureBinding secureBinding,
DirectoryInfo path
)
Parameters
serverComment
Type: System.StringA string that contains a description for the Web application, which must match the value that is contained by the Internet Information Services (IIS) ServerComment property that is used in the IIS configuration store for the IIS Web site.
allowAnonymous
Type: System.Booleantrue if anonymous access to the Web application is allowed; otherwise, false. The default value is false.
disableKerberos
Type: System.Booleantrue to disable Kerberos authentication for the Web application; otherwise, false. The default value is false.
serverBinding
Type: Microsoft.SharePoint.Administration.SPServerBindingAn SPServerBinding object that represents server bindings to use for the Web application.
secureBinding
Type: Microsoft.SharePoint.Administration.SPSecureBindingAn SPSecureBinding object that represents server bindings to use for the Web application that uses the Secure Sockets Layer (SSL) protocol.
path
Type: System.IO.DirectoryInfoA System.IO.DirectoryInfo object that specifies the local file system path to the folder that contains files for the virtual directory of the Web application, for example: C:\Inetpub\wwwroot\wss\VirtualDirectories\80.