TeamFoundationVersionControlService.Get Method (TeamFoundationRequestContext, String, String, array<GetRequest[], Int32, GetOptions, array<String[], array<String )
Called by the client to synchronize the workspace with a given version. Returns a "to do" list of files for the client to download to update the user's local working copies.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function Get ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
ownerName As String, _
requests As GetRequest(), _
maxResults As Integer, _
getOptions As GetOptions, _
itemPropertyFilters As String(), _
itemAttributeFilters As String() _
) As TeamFoundationDataReader
public TeamFoundationDataReader Get(
TeamFoundationRequestContext requestContext,
string workspaceName,
string ownerName,
GetRequest[] requests,
int maxResults,
GetOptions getOptions,
string[] itemPropertyFilters,
string[] itemAttributeFilters
)
public:
TeamFoundationDataReader^ Get(
TeamFoundationRequestContext^ requestContext,
String^ workspaceName,
String^ ownerName,
array<GetRequest^>^ requests,
int maxResults,
GetOptions getOptions,
array<String^>^ itemPropertyFilters,
array<String^>^ itemAttributeFilters
)
member Get :
requestContext:TeamFoundationRequestContext *
workspaceName:string *
ownerName:string *
requests:GetRequest[] *
maxResults:int *
getOptions:GetOptions *
itemPropertyFilters:string[] *
itemAttributeFilters:string[] -> TeamFoundationDataReader
public function Get(
requestContext : TeamFoundationRequestContext,
workspaceName : String,
ownerName : String,
requests : GetRequest[],
maxResults : int,
getOptions : GetOptions,
itemPropertyFilters : String[],
itemAttributeFilters : String[]
) : TeamFoundationDataReader
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringName of workspace to update.
ownerName
Type: System.StringWorkspace owner user name that includes domain.
requests
Type: array<Microsoft.TeamFoundation.VersionControl.Server.GetRequest[]Get operations to perform.
maxResults
Type: System.Int32Limit total number of results that can be returned.
- getOptions
Type: Microsoft.TeamFoundation.VersionControl.Server.GetOptions
- itemPropertyFilters
Type: array<System.String[]
itemAttributeFilters
Type: array<System.String[]A list of versioned item attributes to return for each GetOperation.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: GetOperation[][] - The list of items that were destroyed.
.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.