GetRequest Constructor (ItemSpec, VersionSpec)
Gets the specified item or the entire workspace at the specified version.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
itemSpec As ItemSpec, _
version As VersionSpec _
)
public GetRequest(
ItemSpec itemSpec,
VersionSpec version
)
public:
GetRequest(
ItemSpec^ itemSpec,
VersionSpec^ version
)
new :
itemSpec:ItemSpec *
version:VersionSpec -> GetRequest
public function GetRequest(
itemSpec : ItemSpec,
version : VersionSpec
)
Parameters
itemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpecThe items to get. Specify null to get the full workspace.
version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe item version to get.
.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.