DataFileAdapter Constructor
Initializes a new instance of the DataFileAdapter class with the specified file.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Public Sub New ( _
file As DataFile _
)
'Usage
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
)
Parameters
- file
Type: Microsoft.SqlServer.Management.Smo.DataFile
A DataFile object value that specifies the data file.
Remarks
Provide the name of the parent Computer object and the name of the processor.