Policy.GetPolicy Method
Gets the information policy for the specified content type.
Namespace: Microsoft.Office.RecordsManagement.InformationPolicy
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Function GetPolicy ( _
ct As SPContentType _
) As Policy
'Usage
Dim ct As SPContentType
Dim returnValue As Policy
returnValue = Policy.GetPolicy(ct)
public static Policy GetPolicy(
SPContentType ct
)
Parameters
ct
Type: Microsoft.SharePoint.SPContentTypeThe SPContentType for which to get the information policy.
Return Value
Type: Microsoft.Office.RecordsManagement.InformationPolicy.Policy
A Policy object that represent the information policy for the content type.
Remarks
For more information about information policies in content types, see Policies in Content Types.
See Also
Reference
Microsoft.Office.RecordsManagement.InformationPolicy Namespace