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
'Bildirim
Public Sub Remove ( _
logFile As LogFile _
)
'Kullanım
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
- logFile
Type: Microsoft.SqlServer.Management.Smo.LogFile
A LogFile object value that specifies the log file to be removed from the LogFileCollection collection.