Метод Add
Adds a LogFile object to the LogFileCollection collection.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub Add ( _
logFile As LogFile _
)
'Применение
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
)
Параметры
- logFile
Тип: Microsoft.SqlServer.Management.Smo. . :: . .LogFile
A LogFile object value that specifies the log file to be removed from the LogFileCollection collection.