Condividi tramite


SPPolicyRole.Id Property

Gets the GUID of the policy role.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property Id As Guid
    Get
'Usage
Dim instance As SPPolicyRole
Dim value As Guid

value = instance.Id
public Guid Id { get; }

Property Value

Type: System.Guid
A System.Guid that identifies the policy role.

Remarks

The ID is zero until the policy role is added to the collection.

See Also

Reference

SPPolicyRole Class

SPPolicyRole Members

Microsoft.SharePoint.Administration Namespace