共用方式為


TeamFoundationVersionControlService.Get Method (TeamFoundationRequestContext, String, String, array<GetRequest[], Int32, GetOptions, 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, _
    itemAttributeFilters As String() _
) As TeamFoundationDataReader
public TeamFoundationDataReader Get(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string ownerName,
    GetRequest[] requests,
    int maxResults,
    GetOptions getOptions,
    string[] itemAttributeFilters
)
public:
TeamFoundationDataReader^ Get(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ ownerName, 
    array<GetRequest^>^ requests, 
    int maxResults, 
    GetOptions getOptions, 
    array<String^>^ itemAttributeFilters
)
member Get : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        ownerName:string * 
        requests:GetRequest[] * 
        maxResults:int * 
        getOptions:GetOptions * 
        itemAttributeFilters:string[] -> TeamFoundationDataReader
public function Get(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    ownerName : String, 
    requests : GetRequest[], 
    maxResults : int, 
    getOptions : GetOptions, 
    itemAttributeFilters : String[]
) : TeamFoundationDataReader

Parameters

  • ownerName
    Type: System.String

    Workspace owner user name that includes domain.

  • maxResults
    Type: System.Int32

    Limit total number of results that can be returned.

  • 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

See Also

Reference

TeamFoundationVersionControlService Class

Get Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace