Repository4.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
<WebMethodAttribute> _
Public Sub UpdateShelveset ( _
shelvesetName As String, _
ownerName As String, _
updatedShelveset As Shelveset _
)
[WebMethodAttribute]
public void UpdateShelveset(
string shelvesetName,
string ownerName,
Shelveset updatedShelveset
)
[WebMethodAttribute]
public:
void UpdateShelveset(
String^ shelvesetName,
String^ ownerName,
Shelveset^ updatedShelveset
)
[<WebMethodAttribute>]
member UpdateShelveset :
shelvesetName:string *
ownerName:string *
updatedShelveset:Shelveset -> unit
public function UpdateShelveset(
shelvesetName : String,
ownerName : String,
updatedShelveset : Shelveset
)
Parameters
shelvesetName
Type: System.StringName of shelveset to update.
- ownerName
Type: System.String
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.