This function permanently deletes the given stream. This operation **CANNOT** be undone! For recoverable deletions, see the Delete(String) method. Purge is restricted to VC admins only.

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

Syntax

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

Parameters

stream
Type: String
Stream path to be purged.

Remarks

Directory purge is currently not supported through this API.

Exceptions

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

See Also