LogFileAdapter 构造函数
Initializes a new instance of the LogFileAdapter class for the specified log file.
命名空间: Microsoft.SqlServer.Management.Utility
程序集: Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)
语法
声明
Public Sub New ( _
file As LogFile _
)
用法
Dim file As LogFile
Dim instance As New LogFileAdapter(file)
public LogFileAdapter(
LogFile file
)
public:
LogFileAdapter(
LogFile^ file
)
new :
file:LogFile -> LogFileAdapter
public function LogFileAdapter(
file : LogFile
)
参数
- file
类型:Microsoft.SqlServer.Management.Smo.LogFile
A LogFile value that specifies the log file that will be associated with the adapter.