Editare

Partajați prin


LogStore.Delete(String) Method

Definition

Removes the log store.

public:
 static void Delete(System::String ^ path);
public static void Delete (string path);
static member Delete : string -> unit
Public Shared Sub Delete (path As String)

Parameters

path
String

A relative or absolute path for the base file of the log store to remove.

Exceptions

path is null.

path is an empty string ("").

-or-

path contains only white space.

-or-

path contains one or more invalid characters.

The file cannot be found.

An I/O error occurs when opening the log store.

Access for the specified log store is denied by the operating system.

Applies to