共用方式為


SPWindowsAuthenticationProvider.UseWindowsIntegratedAuthentication property

會指出是否此宣告**[SPWebApplication]**使用 Windows 整合式驗證或宣告模式中找不到。

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

Syntax

'宣告
Public Property UseWindowsIntegratedAuthentication As Boolean
    Get
    Set
'用途
Dim instance As SPWindowsAuthenticationProvider
Dim value As Boolean

value = instance.UseWindowsIntegratedAuthentication

instance.UseWindowsIntegratedAuthentication = value
public bool UseWindowsIntegratedAuthentication { get; set; }

Property value

Type: System.Boolean
Boolean 值 = true ,如果以宣告模式使用 Windows 整合式驗證。

請參閱

參照

SPWindowsAuthenticationProvider class

SPWindowsAuthenticationProvider members

Microsoft.SharePoint.Administration namespace