SPWebApplication.AllowAnalyticsCookieForAnonymousUsers 属性

启用或禁用分析为匿名用户的 cookie。

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

语法

声明
Public Property AllowAnalyticsCookieForAnonymousUsers As Boolean
    Get
    Set
用法
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.AllowAnalyticsCookieForAnonymousUsers

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

属性值

类型:System.Boolean
true如果启用了匿名用户 cookie 分析 ;否则为false。

另请参阅

引用

SPWebApplication 类

SPWebApplication 成员

Microsoft.SharePoint.Administration 命名空间