다음을 통해 공유


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