Share via


VersionControlServer.QueryMergeRelationships Method

Gets an array of all items that have a merge relationship to the specified item.

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

Syntax

'Declaration
Public Function QueryMergeRelationships ( _
    serverItem As String _
) As ItemIdentifier()
public ItemIdentifier[] QueryMergeRelationships(
    string serverItem
)
public:
array<ItemIdentifier^>^ QueryMergeRelationships(
    String^ serverItem
)
member QueryMergeRelationships : 
        serverItem:string -> ItemIdentifier[] 
public function QueryMergeRelationships(
    serverItem : String
) : ItemIdentifier[]

Parameters

  • serverItem
    Type: System.String

    Path to the server item to query.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemIdentifier[]
Array of ItemIdentifier objects.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace