Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IPolicyDefinition Interface

An interface to interact with the design time behavior of a policy. It is designed to allow lists of policy instances to be displayed and edited.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

type IPolicyDefinition =  interface end

The IPolicyDefinition type exposes the following members.

Public propertyCanEditGets a flag that describes whether this policy includes configuration user interface (UI).
Public propertyDescriptionGets a description of the behavior of this policy instance.
Public propertyInstallationInstructionsGets a message that is displayed if the policy appears not to be installed.
Public propertyTypeGets the type of the policy.
Public propertyTypeDescriptionGets a description of the policy type.

Public methodEditDisplays a dialog box to allow user to configure the properties of the policy.
© 2015 Microsoft