Workstation.QueryLocalWorkspaceInfo Method

Get an array of WorkspaceInfo objects that match the specified parameters.

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

Syntax

'Declaration
Public Function QueryLocalWorkspaceInfo ( _
    sourceControl As VersionControlServer, _
    workspaceName As String, _
    workspaceOwner As String _
) As WorkspaceInfo()
public WorkspaceInfo[] QueryLocalWorkspaceInfo(
    VersionControlServer sourceControl,
    string workspaceName,
    string workspaceOwner
)
public:
array<WorkspaceInfo^>^ QueryLocalWorkspaceInfo(
    VersionControlServer^ sourceControl, 
    String^ workspaceName, 
    String^ workspaceOwner
)
member QueryLocalWorkspaceInfo : 
        sourceControl:VersionControlServer * 
        workspaceName:string * 
        workspaceOwner:string -> WorkspaceInfo[] 
public function QueryLocalWorkspaceInfo(
    sourceControl : VersionControlServer, 
    workspaceName : String, 
    workspaceOwner : String
) : WorkspaceInfo[]

Parameters

  • workspaceName
    Type: System.String

    The name of the desired workspace. Null for all workspaces.

  • workspaceOwner
    Type: System.String

    The workspace owner. Null for any owner.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo[]
An array of WorkspaceInfo objects that match the specified parameters.

.NET Framework Security

See Also

Reference

Workstation Class

Microsoft.TeamFoundation.VersionControl.Client Namespace