Policy.GetPolicy(SPContentType) Policy.GetPolicy(SPContentType) Policy.GetPolicy(SPContentType) Method

Definition

Gets the information policy for the specified content type.

public:
 static Microsoft::Office::RecordsManagement::InformationPolicy::Policy ^ GetPolicy(Microsoft::SharePoint::SPContentType ^ ct);
public static Microsoft.Office.RecordsManagement.InformationPolicy.Policy GetPolicy (Microsoft.SharePoint.SPContentType ct);
Public Shared Function GetPolicy (ct As SPContentType) As Policy
Parameters
ct
SPContentType SPContentType SPContentType

The SPContentType for which to get the information policy.

Returns

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.

Applies to