Bagikan melalui


VersionControlServer.GetChangeset Method (Int32, Boolean, Boolean, array<String[], array<String[], array<String )

Gets the details of a Changeset.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Function GetChangeset ( _
    changesetId As Integer, _
    includeChanges As Boolean, _
    includeDownloadInfo As Boolean, _
    changesetPropertyFilters As String(), _
    itemAttributeFilters As String(), _
    itemPropertyFilters As String() _
) As Changeset
public Changeset GetChangeset(
    int changesetId,
    bool includeChanges,
    bool includeDownloadInfo,
    string[] changesetPropertyFilters,
    string[] itemAttributeFilters,
    string[] itemPropertyFilters
)
public:
Changeset^ GetChangeset(
    int changesetId, 
    bool includeChanges, 
    bool includeDownloadInfo, 
    array<String^>^ changesetPropertyFilters, 
    array<String^>^ itemAttributeFilters, 
    array<String^>^ itemPropertyFilters
)
member GetChangeset : 
        changesetId:int * 
        includeChanges:bool * 
        includeDownloadInfo:bool * 
        changesetPropertyFilters:string[] * 
        itemAttributeFilters:string[] * 
        itemPropertyFilters:string[] -> Changeset
public function GetChangeset(
    changesetId : int, 
    includeChanges : boolean, 
    includeDownloadInfo : boolean, 
    changesetPropertyFilters : String[], 
    itemAttributeFilters : String[], 
    itemPropertyFilters : String[]
) : Changeset

Parameters

  • includeChanges
    Type: System.Boolean

    True to include the changes in the Changeset. False to include only metadata.

  • includeDownloadInfo
    Type: System.Boolean

    true to get the information needed to download files. Specify false to save bandwidth if not necessary.

  • changesetPropertyFilters
    Type: array<System.String[]

    List of the property name filters to filter the result.

  • itemAttributeFilters
    Type: array<System.String[]

    The item attribute filters.

  • itemPropertyFilters
    Type: array<System.String[]

    The item property filters.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Changeset
A reference to a Changeset object specifying these details.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetChangeset Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace