Workstation.GetLocalWorkspaceInfo Method (VersionControlServer, String, String)
Gets the cached local workspace info for the specified workspace.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaração
Public Function GetLocalWorkspaceInfo ( _
sourceControl As VersionControlServer, _
workspaceName As String, _
workspaceOwner As String _
) As WorkspaceInfo
public WorkspaceInfo GetLocalWorkspaceInfo(
VersionControlServer sourceControl,
string workspaceName,
string workspaceOwner
)
public:
WorkspaceInfo^ GetLocalWorkspaceInfo(
VersionControlServer^ sourceControl,
String^ workspaceName,
String^ workspaceOwner
)
member GetLocalWorkspaceInfo :
sourceControl:VersionControlServer *
workspaceName:string *
workspaceOwner:string -> WorkspaceInfo
public function GetLocalWorkspaceInfo(
sourceControl : VersionControlServer,
workspaceName : String,
workspaceOwner : String
) : WorkspaceInfo
Parameters
- sourceControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
The server that contains the specified workspace.
- workspaceName
Type: System.String
The name of the workspace.
- workspaceOwner
Type: System.String
The workspace owner.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo
The WorkspaceInfo object, or null if the workspace was not found.
.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.