LogFileCollection.Remove Método (LogFile)
Removes a LogFile object from the LogFileCollection collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Remove ( _
logFile As LogFile _
)
'Uso
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
)
Parámetros
- logFile
Tipo: Microsoft.SqlServer.Management.Smo.LogFile
A LogFile object value that specifies the log file to be removed from the LogFileCollection collection.