TeamFoundationVersionControlService.UpdateShelveset Method
Updates the custom properties on the shelveset.
NOTE: Currently only updates to the property bag on the shelveset are honored.
All other updates cause a no-op.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Sub UpdateShelveset ( _
requestContext As TeamFoundationRequestContext, _
shelvesetName As String, _
shelvesetOwner As String, _
updatedShelveset As Shelveset _
)
public void UpdateShelveset(
TeamFoundationRequestContext requestContext,
string shelvesetName,
string shelvesetOwner,
Shelveset updatedShelveset
)
public:
void UpdateShelveset(
TeamFoundationRequestContext^ requestContext,
String^ shelvesetName,
String^ shelvesetOwner,
Shelveset^ updatedShelveset
)
member UpdateShelveset :
requestContext:TeamFoundationRequestContext *
shelvesetName:string *
shelvesetOwner:string *
updatedShelveset:Shelveset -> unit
public function UpdateShelveset(
requestContext : TeamFoundationRequestContext,
shelvesetName : String,
shelvesetOwner : String,
updatedShelveset : Shelveset
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
shelvesetName
Type: System.StringName of shelveset to update.
shelvesetOwner
Type: System.StringOwner of shelveset to update.
updatedShelveset
Type: Microsoft.TeamFoundation.VersionControl.Server.ShelvesetThe updated shelveset.
.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.