Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Modifies workspace properties and working folder mappings.
Workspace owner may not be changed.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function UpdateWorkspace ( _
oldWorkspaceName As String, _
ownerName As String, _
newWorkspace As Workspace, _
supportedFeatures As Integer _
) As Workspace
[WebMethodAttribute]
public Workspace UpdateWorkspace(
string oldWorkspaceName,
string ownerName,
Workspace newWorkspace,
int supportedFeatures
)
[WebMethodAttribute]
public:
Workspace^ UpdateWorkspace(
String^ oldWorkspaceName,
String^ ownerName,
Workspace^ newWorkspace,
int supportedFeatures
)
[<WebMethodAttribute>]
member UpdateWorkspace :
oldWorkspaceName:string *
ownerName:string *
newWorkspace:Workspace *
supportedFeatures:int -> Workspace
public function UpdateWorkspace(
oldWorkspaceName : String,
ownerName : String,
newWorkspace : Workspace,
supportedFeatures : int
) : Workspace
Parameters
oldWorkspaceName
Type: System.StringName of workspace before updating.
ownerName
Type: System.StringOwner of workspace (including domain).
newWorkspace
Type: Microsoft.TeamFoundation.VersionControl.Server.WorkspaceNew workspace properties.
supportedFeatures
Type: System.Int32The features supported by the client, an int which contains the combined values of the SupportedFeatures enum.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Server.Workspace
New workspace properties. May have been cleaned up by the server.
.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.