Workstation.InstalledPolicyTypes Property
Gets the list of policy types installed on the computer.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public ReadOnly Property InstalledPolicyTypes As PolicyType()
'Usage
Dim instance As Workstation
Dim value As PolicyType()
value = instance.InstalledPolicyTypes
public PolicyType[] InstalledPolicyTypes { get; }
public:
property array<PolicyType^>^ InstalledPolicyTypes {
array<PolicyType^>^ get ();
}
public function get InstalledPolicyTypes () : PolicyType[]
Property Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PolicyType[]
Remarks
These policy types can be used to create new policy instances that can then be stored with a portfolio project for evaluation on check-ins.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.