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.