共用方式為


PolicyEnvelope.Type Property

Gets the policy type of the policy that is stored in this envelope.

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

Syntax

'Declaration
Public ReadOnly Property Type As String
public string Type { get; }
public:
property String^ Type {
    String^ get ();
}
member Type : string with get
function get Type () : String

Property Value

Type: System.String
The policy type of the policy that is stored in this envelope.

Remarks

This is a cached copy of the policy type. It can be used to get the policy type in the event that the policy itself fails to load.

.NET Framework Security

See Also

Reference

PolicyEnvelope Class

Microsoft.TeamFoundation.VersionControl.Client Namespace