共用方式為


SPConfigDatabase.WindowsAuthentication property

已過時。取得 Boolean 值,指出是否已啟用內設定資料庫的 Microsoft Windows 驗證。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property WindowsAuthentication As Boolean
    Get
'用途
Dim instance As SPConfigDatabase
Dim value As Boolean

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

Property value

Type: System.Boolean
true如果已啟用 Windows 驗證 ;否則,請false。

請參閱

參照

SPConfigDatabase class

SPConfigDatabase members

Microsoft.SharePoint.Administration namespace