Compartilhar via


Policy.InheritsPolicy Method

Gets whether the specified content type inherits its information policy from a site policy, or has an information policy created for that content type.

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Shared Function InheritsPolicy ( _
    ct As SPContentType _
) As Boolean
'Usage
Dim ct As SPContentType
Dim returnValue As Boolean

returnValue = Policy.InheritsPolicy(ct)
public static bool InheritsPolicy(
    SPContentType ct
)

Parameters

Return Value

Type: System.Boolean
true if the content type inherits its information policy from a site policy; false if the information policy was created directly on 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