SPPolicyRoleCollection.GetSpecialRole method

Returns a default policy role based on the specified policy role type.

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

Syntax

'Declaration
Public Function GetSpecialRole ( _
    type As SPPolicyRoleType _
) As SPPolicyRole
'Usage
Dim instance As SPPolicyRoleCollection
Dim type As SPPolicyRoleType
Dim returnValue As SPPolicyRole

returnValue = instance.GetSpecialRole(type)
public SPPolicyRole GetSpecialRole(
    SPPolicyRoleType type
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPPolicyRole
An SPPolicyRole object that represents the policy role.

See also

Reference

SPPolicyRoleCollection class

SPPolicyRoleCollection members

Microsoft.SharePoint.Administration namespace