Share via


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

.NET Framework Security

See Also

Reference

Repository4 Class

Microsoft.TeamFoundation.VersionControl.Server Namespace