共用方式為


PolicyEnvelope.Enabled Property

Gets or sets a flag that describes whether this policy may be evaluated.

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

Syntax

'宣告
Public Property Enabled As Boolean
    Get
    Set
public bool Enabled { get; set; }
public:
property bool Enabled {
    bool get ();
    void set (bool value);
}
member Enabled : bool with get, set
function get Enabled () : boolean
function set Enabled (value : boolean)

Property Value

Type: System.Boolean
True if the policy may be evaluated; otherwise, false.

.NET Framework Security

See Also

Reference

PolicyEnvelope Class

Microsoft.TeamFoundation.VersionControl.Client Namespace