次の方法で共有


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.String

    A 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.Boolean

    true if anonymous access to the Web application is allowed; otherwise, false. The default value is false.

  • disableKerberos
    Type: System.Boolean

    true to disable Kerberos authentication for the Web application; otherwise, false. The default value is false.

  • path
    Type: System.IO.DirectoryInfo

    A 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.

See also

Reference

SPIisSettings class

SPIisSettings members

SPIisSettings overload

Microsoft.SharePoint.Administration namespace