DataFileAdapter 建構函式
Initializes a new instance of the DataFileAdapter class with the specified file.
命名空間: Microsoft.SqlServer.Management.Utility
組件: Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)
語法
'宣告
Public Sub New ( _
file As DataFile _
)
'用途
Dim file As DataFile
Dim instance As New DataFileAdapter(file)
public DataFileAdapter(
DataFile file
)
public:
DataFileAdapter(
DataFile^ file
)
new :
file:DataFile -> DataFileAdapter
public function DataFileAdapter(
file : DataFile
)
參數
- file
型別:Microsoft.SqlServer.Management.Smo. . :: . .DataFile
A DataFile object value that specifies the data file.
備註
Provide the name of the parent Computer object and the name of the processor.