다음을 통해 공유


Policy Members

Include Protected Members
Include Inherited Members

An information policy that resides on a site, is applied to a content type, or is applied to a list.

The Policy type exposes the following members.

Properties

  Name Description
Public property BlockPreview Reserved for internal use.
Public property Description Gets or sets a concise description of the information management policy.
Public propertyStatic member ExemptFieldInternalName Reserved for internal use.
Public property Id Gets the GUID of the policy.
Public property IsLocal Reserved for internal use.
Public property Items The collection of policy items included in this information policy.
Public property ModifiedBy Gets the user name of the last person to modify this information policy.
Public property ModifiedDate Gets the time and date when this information policy was last modified.
Public property Name Gets or sets the policy name that is displayed in the Microsoft SharePoint Server 2010 interface.
Public property Statement Gets or sets the long description of the information management policy.

Top

Methods

  Name Description
Public methodStatic member CanHavePolicy Reserved for internal use.
Public methodStatic member CreatePolicy Creates an information policy in the specified content type.
Public methodStatic member DeletePolicy Removes the information policy from the specified content type.
Public method Dispose Reserved for internal use.
Public method Equals (Inherited from Object.)
Public method Export Creates an XML rendering of the information policy.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public methodStatic member GetPolicy Gets the information policy for the specified content type.
Public method GetType (Inherited from Object.)
Public methodStatic member InheritsPolicy Gets whether the specified content type inherits its information policy from a site policy, or has an information policy created for that content type.
Public methodStatic member IsItemExempt Gets whether the specified list item is exempt from the information policy applied to it.
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member ProcessChanges Obsolete. Reserved for internal use.
Public method ProcessChangesForDeletedGlobalPolicyItem Obsolete.
Public methodStatic member ProcessChangesForDeletedPolicy Obsolete. Reserved for internal use.
Public methodStatic member ProcessItemChangesForDeletedPolicy Obsolete. Reserved for internal use.
Public methodStatic member RemoveExemption Removes the information policy exemption from the specified list item.
Public methodStatic member SetExemption Makes the specified list item exempt from the information policy applied to it.
Public method ToString (Inherited from Object.)
Public method Update Writes the changes made to the policy back to the SharePoint content database.
Public methodStatic member ValidateManifest Validates the specified XML information policy definition.

Top

See Also

Reference

Policy Class

Microsoft.Office.RecordsManagement.InformationPolicy Namespace