SPSite.IISAllowsAnonymous 属性

Gets a Boolean value that indicates whether anonymous access is enabled in Microsoft Internet Information Services (IIS).

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property IISAllowsAnonymous As Boolean
    Get
用法
Dim instance As SPSite
Dim value As Boolean

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

属性值

类型:System.Boolean
true if anonymous access is enabled in IIS; otherwise, false.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间