LogStore.Delete(String) 方法

定义

移除日志存储区。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)

参数

path
String

要移除的日志存储区的基文件的相对或绝对路径。A relative or absolute path for the base file of the log store to remove.

异常

pathnullpath is null.

path 为空字符串 ("")。path is an empty string ("").

-or- path 仅包含空白。path contains only white space.

-or- path 包含一个或多个无效字符。path contains one or more invalid characters.

无法找到该文件。The file cannot be found.

打开日志存储区时发生了 I/O 错误。An I/O error occurs when opening the log store.

操作系统拒绝了对指定的日志存储区的访问。Access for the specified log store is denied by the operating system.

适用于