共用方式為


SPConfigDatabase.WindowsAuthentication Property

Obsolete. Gets a Boolean value that indicates whether Microsoft Windows authentication is enabled for the configuration database.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property WindowsAuthentication As Boolean
    Get
'Usage
Dim instance As SPConfigDatabase
Dim value As Boolean

value = instance.WindowsAuthentication
public bool WindowsAuthentication { get; }

Property Value

Type: System.Boolean
true if Windows authentication is enabled; otherwise, false.

See Also

Reference

SPConfigDatabase Class

SPConfigDatabase Members

Microsoft.SharePoint.Administration Namespace