Compartilhar via


Workspace.QueryConflicts Method

Gets the array of conflicts that match the specified path filters.

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

Syntax

'Declaração
Public Function QueryConflicts ( _
    pathFilters As String(), _
    recursive As Boolean _
) As Conflict()
public Conflict[] QueryConflicts(
    string[] pathFilters,
    bool recursive
)
public:
array<Conflict^>^ QueryConflicts(
    array<String^>^ pathFilters, 
    bool recursive
)
member QueryConflicts : 
        pathFilters:string[] * 
        recursive:bool -> Conflict[] 
public function QueryConflicts(
    pathFilters : String[], 
    recursive : boolean
) : Conflict[]

Parameters

  • pathFilters
    Type: array<System.String[]
    The paths to filter the conflicts.
  • recursive
    Type: System.Boolean
    True to recursively match path with the filters.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.Conflict[]
The array of conflicts that match the specified paths.

Remarks

The source and target local and server paths for each conflict are matched against the specified paths.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace