共用方式為


SPPolicyRole.Name property

取得或設定的原則角色名稱。

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

Syntax

'宣告
Public Property Name As String
    Get
    Set
'用途
Dim instance As SPPolicyRole
Dim value As String

value = instance.Name

instance.Name = value
public string Name { get; set; }

Property value

Type: System.String
包含的原則角色名稱的字串。

請參閱

參照

SPPolicyRole class

SPPolicyRole members

Microsoft.SharePoint.Administration namespace