This documentation is archived and is not being maintained.

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)

public interface IPolicyDefinition

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.