Remove 方法 (LogFile)

Removes a LogFile object from the LogFileCollection collection.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Remove ( _
    logFile As LogFile _
)
用法
Dim instance As LogFileCollection
Dim logFile As LogFile

instance.Remove(logFile)
public void Remove(
    LogFile logFile
)
public:
void Remove(
    LogFile^ logFile
)
member Remove : 
        logFile:LogFile -> unit 
public function Remove(
    logFile : LogFile
)

参数

示例

使用集合