Repository.UpdateWorkspace Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
声明
<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.String
- ownerName
Type: System.String
- newWorkspace
Type: Microsoft.TeamFoundation.VersionControl.Server.Workspace
- supportedFeatures
Type: System.Int32
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.