Compartilhar via


Método Add

Adds a LogFile object to the LogFileCollection collection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    logFile As LogFile _
)
'Uso
Dim instance As LogFileCollection
Dim logFile As LogFile

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

Parâmetros