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

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

Policy class

Policy members

Microsoft.Office.RecordsManagement.InformationPolicy namespace