SPIisSettings.UseBasicAuthentication property
取得或設定一個值,指定的 Web 應用程式是否要使用基本驗證。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property UseBasicAuthentication As Boolean
Get
Set
'用途
Dim instance As SPIisSettings
Dim value As Boolean
value = instance.UseBasicAuthentication
instance.UseBasicAuthentication = value
public bool UseBasicAuthentication { get; set; }
Property value
Type: System.Boolean
若要允許基本驗證 ; true否則,請false。預設值為false。