Dela via


LogFileCollection.Remove Method (LogFile)

Removes a LogFile object from the LogFileCollection collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Remove ( _
    logFile As LogFile _
)
'Usage
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
)

Parameters