Bagikan melalui


Workstation.GetLocalWorkspaceInfo Method (VersionControlServer, String, String)

Gets the cached local workspace information for the specified workspace.

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

Syntax

'Declaration
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

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo
The WorkspaceInfo object, or null if the workspace was not found.

.NET Framework Security

See Also

Reference

Workstation Class

GetLocalWorkspaceInfo Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace