PolicyType.New Method
Creates a new policy instance of this type.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Overridable Function New As IPolicyDefinition
public virtual IPolicyDefinition New()
public:
virtual IPolicyDefinition^ New()
abstract New : unit -> IPolicyDefinition
override New : unit -> IPolicyDefinition
public function New() : IPolicyDefinition
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.IPolicyDefinition
The new policy instance of this type.
.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.