共用方式為


TeamFoundationVersionControlService.QueryWorkspace Method

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

Syntax

'宣告
Public Function QueryWorkspace ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    ownerName As String _
) As Workspace
public Workspace QueryWorkspace(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string ownerName
)
public:
Workspace^ QueryWorkspace(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ ownerName
)
member QueryWorkspace : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        ownerName:string -> Workspace 
public function QueryWorkspace(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    ownerName : String
) : Workspace

Parameters

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Server.Workspace

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace