Repository.QueryWorkspace Method

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

Syntax

'宣言
<WebMethodAttribute> _
Public Function QueryWorkspace ( _
    workspaceName As String, _
    ownerName As String _
) As Workspace
[WebMethodAttribute]
public Workspace QueryWorkspace(
    string workspaceName,
    string ownerName
)
[WebMethodAttribute]
public:
Workspace^ QueryWorkspace(
    String^ workspaceName, 
    String^ ownerName
)
[<WebMethodAttribute>]
member QueryWorkspace : 
        workspaceName:string * 
        ownerName:string -> Workspace 
public function QueryWorkspace(
    workspaceName : String, 
    ownerName : String
) : Workspace

Parameters

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Server.Workspace

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace