Repository.DeleteShelveset Method
Deletes the specified shelveset. All associated shelved changes are removed also.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Sub DeleteShelveset ( _
shelvesetName As String, _
ownerName As String _
)
[WebMethodAttribute]
public void DeleteShelveset(
string shelvesetName,
string ownerName
)
[WebMethodAttribute]
public:
void DeleteShelveset(
String^ shelvesetName,
String^ ownerName
)
[<WebMethodAttribute>]
member DeleteShelveset :
shelvesetName:string *
ownerName:string -> unit
public function DeleteShelveset(
shelvesetName : String,
ownerName : String
)
Parameters
shelvesetName
Type: System.StringName of the shelveset.
ownerName
Type: System.StringUser name of the shelveset's owner including domain.
.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.