Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the policy role with the specifed GUID from the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetById ( _
id As Guid _
) As SPPolicyRole
'Usage
Dim instance As SPPolicyRoleCollection
Dim id As Guid
Dim returnValue As SPPolicyRole
returnValue = instance.GetById(id)
public SPPolicyRole GetById(
Guid id
)
Parameters
id
Type: System.GuidA System.Guid that specifies the GUID of the policy role.
Return Value
Type: Microsoft.SharePoint.Administration.SPPolicyRole