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)
Syntax
声明
Public Interface IPolicyDefinition
public interface IPolicyDefinition
public interface class IPolicyDefinition
type IPolicyDefinition =  interface end
public interface IPolicyDefinition
The IPolicyDefinition type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | CanEdit | Gets a flag that describes whether this policy includes configuration user interface (UI). | 
| .gif) | Description | Gets a description of the behavior of this policy instance. | 
| .gif) | InstallationInstructions | Gets a message that is displayed if the policy appears not to be installed. | 
| .gif) | Type | Gets the type of the policy. | 
| .gif) | TypeDescription | Gets a description of the policy type. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Edit | Displays a dialog box to allow user to configure the properties of the policy. | 
Top