VersionControlServer.DeleteShelveset Method (Shelveset)
Removes a shelveset from the server. A DeletedShelveset event is sent after the operation.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub DeleteShelveset ( _
shelveset As Shelveset _
)
'Usage
Dim instance As VersionControlServer
Dim shelveset As Shelveset
instance.DeleteShelveset(shelveset)
public void DeleteShelveset(
Shelveset shelveset
)
public:
void DeleteShelveset(
Shelveset^ shelveset
)
public function DeleteShelveset(
shelveset : Shelveset
)
Parameters
shelveset
Type: Microsoft.TeamFoundation.VersionControl.Client.ShelvesetThe passed Shelveset object contains the name of the shelveset that you want to remove, and the username of the shelveset owner. All the other members of the shelveset class are ignored by this method.
.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.