SPGlobalAdmin.UseNtAuthenticationForDatabase property
NOTE: This API is now obsolete.
驗證模式可以針對每個資料庫,而異,並將資料庫使用 NT 驗證如果Username屬性為 null。(在Windows SharePoint Services 2.0, UseNtAuthenticationForDatabase屬性 got Boolean 值,指示 Microsoft Windows NT 驗證用於資料庫,並維持回溯相容性)。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("The authentication mode can now vary for each database. A database will use NT authentication if its Username property is null.", _
False)> _
Public ReadOnly Property UseNtAuthenticationForDatabase As Boolean
Get
'用途
Dim instance As SPGlobalAdmin
Dim value As Boolean
value = instance.UseNtAuthenticationForDatabase
[ObsoleteAttribute("The authentication mode can now vary for each database. A database will use NT authentication if its Username property is null.",
false)]
public bool UseNtAuthenticationForDatabase { get; }
Property value
Type: System.Boolean
true如果使用 Windows NT 驗證 ;否則,請false。