共用方式為


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

'宣告
Public ReadOnly Property Type As String
    Get
public string Type { get; }
public:
property String^ Type {
    String^ get ();
}
member Type : string
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