Workstation.GetLocalWorkspaceInfo Method (VersionControlServer, String, String)

Get the cached local WorkspaceInfo for the specified Workspace.

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


Public Function GetLocalWorkspaceInfo ( _
    sourceControl As VersionControlServer, _
    workspaceName As String, _
    workspaceOwner As String _
) As WorkspaceInfo
Dim instance As Workstation 
Dim sourceControl As VersionControlServer 
Dim workspaceName As String 
Dim workspaceOwner As String 
Dim returnValue As WorkspaceInfo 

returnValue = instance.GetLocalWorkspaceInfo(sourceControl, _
    workspaceName, workspaceOwner)
public WorkspaceInfo GetLocalWorkspaceInfo(
    VersionControlServer sourceControl,
    string workspaceName,
    string workspaceOwner
WorkspaceInfo^ GetLocalWorkspaceInfo(
    VersionControlServer^ sourceControl, 
    String^ workspaceName, 
    String^ workspaceOwner
public function GetLocalWorkspaceInfo(
    sourceControl : VersionControlServer, 
    workspaceName : String, 
    workspaceOwner : String
) : WorkspaceInfo


Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo
Returns the WorkspaceInfo object which describes the containing Workspace, or nulla null reference (Nothing in Visual Basic) if it is not in a Workspace.

.NET Framework Security

See Also


Workstation Class

Workstation Members

GetLocalWorkspaceInfo Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace