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.