Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
sourceControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServerThe repository that contains the desired workspace objects.
workspaceName
Type: System.StringThe name of the desired workspace. Null for all workspaces.
workspaceOwner
Type: System.StringThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.