共用方式為


SPPolicyCollection.AnonymousPolicy property

取得或設定為匿名使用者的安全性原則。

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

Syntax

'宣告
Public Property AnonymousPolicy As SPAnonymousPolicy
    Get
    Set
'用途
Dim instance As SPPolicyCollection
Dim value As SPAnonymousPolicy

value = instance.AnonymousPolicy

instance.AnonymousPolicy = value
public SPAnonymousPolicy AnonymousPolicy { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.SPAnonymousPolicy
會指定匿名使用者的安全性原則SPAnonymousPolicy值。

請參閱

參照

SPPolicyCollection class

SPPolicyCollection members

Microsoft.SharePoint.Administration namespace