PolicyList Constructor
Initializes the policy list so that it can access the policy information on the server.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
sourceControl As VersionControlServer _
)
public PolicyList(
VersionControlServer sourceControl
)
public:
PolicyList(
VersionControlServer^ sourceControl
)
new :
sourceControl:VersionControlServer -> PolicyList
public function PolicyList(
sourceControl : VersionControlServer
)
Parameters
sourceControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServerThe repository with which to synchronize.
.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.