Repository.QueryWorkspace Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<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
- workspaceName
Type: System.String
- ownerName
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Server.Workspace
.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.