Share via


Repository.QueryConflicts Method

Return the conflicts filtered by the optional list of ItemSpecs.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryConflicts ( _
    workspaceName As String, _
    ownerName As String, _
    items As ItemSpec() _
) As StreamingCollection(Of Conflict)
[WebMethodAttribute]
public StreamingCollection<Conflict> QueryConflicts(
    string workspaceName,
    string ownerName,
    ItemSpec[] items
)
[WebMethodAttribute]
public:
StreamingCollection<Conflict^>^ QueryConflicts(
    String^ workspaceName, 
    String^ ownerName, 
    array<ItemSpec^>^ items
)
[<WebMethodAttribute>]
member QueryConflicts : 
        workspaceName:string * 
        ownerName:string * 
        items:ItemSpec[] -> StreamingCollection<Conflict> 
public function QueryConflicts(
    workspaceName : String, 
    ownerName : String, 
    items : ItemSpec[]
) : StreamingCollection<Conflict>

Parameters

  • workspaceName
    Type: System.String

    Workspace name of workspace to return conflicts for.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Conflict>
List of conflicts that match the ItemSpec filters.

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace