SPSite.IISAllowsAnonymous property
取得Boolean值,指出在 Microsoft Internet Information Services (IIS) 時,是否要啟用匿名存取。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property IISAllowsAnonymous As Boolean
Get
'用途
Dim instance As SPSite
Dim value As Boolean
value = instance.IISAllowsAnonymous
public bool IISAllowsAnonymous { get; }
Property value
Type: System.Boolean
true如果 IIS ; 中啟用匿名存取否則, false。