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
- logFile
Type: Microsoft.SqlServer.Management.Smo.LogFile
A LogFile object value that specifies the log file to be removed from the LogFileCollection collection.
See Also