다음을 통해 공유


PolicyItemCollection.Delete Method

Deletes the policy item for the specified policy feature.

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

Syntax

'Declaration
Public Sub Delete ( _
    policyFeatureId As String _
)
'Usage
Dim instance As PolicyItemCollection
Dim policyFeatureId As String

instance.Delete(policyFeatureId)
public void Delete(
    string policyFeatureId
)

Parameters

  • policyFeatureId
    Type: System.String

    The ID of the policy feature that this policy item configures.

Remarks

Use the Id property of the PolicyFeature object to determine a policy feature's ID.

Logically, each policy is a collection of instruction sets for one or more policy features. For each policy feature that you want to include in a policy, you include an instruction set, called a policy item, in the policy. A policy item contains the settings for only one policy feature.

For more information about information policies and policy features, see Managing Information Management Policy in SharePoint Server 2010 (ECM).

See Also

Reference

PolicyItemCollection Class

PolicyItemCollection Members

Microsoft.Office.RecordsManagement.InformationPolicy Namespace