Expiration.PolicyId property

Gets the unique identifier of the policy.

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

Syntax

'Declaration
Public Shared ReadOnly Property PolicyId As String
    Get
'Usage
Dim value As String

value = Expiration.PolicyId
public static string PolicyId { get; }

Property value

Type: System.String
The unique identifier of the policy.

Remarks

The unique identifier returned is the value of the Bar Code policy feature. To find the policy item for a Bar Code policy feature within an item or the policy of a content type, perform a query by using this string value.

For more information about policy features, see Introduction to Information Management Policy and Policy Feature Overview.

See also

Reference

Expiration class

Expiration members

Microsoft.Office.RecordsManagement.PolicyFeatures namespace