共用方式為


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)

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
Public property CanEdit Gets a flag that describes whether this policy includes configuration user interface (UI).
Public property Description Gets a description of the behavior of this policy instance.
Public property InstallationInstructions Gets a message that is displayed if the policy appears not to be installed.
Public property Type Gets the type of the policy.
Public property TypeDescription Gets a description of the policy type.

Top

Methods

  Name Description
Public method Edit Displays a dialog box to allow user to configure the properties of the policy.

Top

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace