This function deletes the given stream. Deletion puts the stream into a "recycled" state. For immediate, non-recoverable deletions see the Purge(String) method.

Namespace: VcClient
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public static void Delete(
	string stream
)
Visual Basic
Public Shared Sub Delete ( _
	stream As String _
)
Visual C++
public:
static void Delete(
	String^ stream
)

Parameters

stream
Type: String
Stream path to be deleted.

Remarks

Directory delete is currently not supported through this API.

Exceptions

ExceptionCondition
ArgumentNullExceptionThrown when stream is null or empty
VcClientExceptions..::..VcClientExceptionThrown when the delete operation fails.

See Also