DataFileAdapter(DataFile) Constructor

Definition

Initializes a new instance of the DataFileAdapter class with the specified file.

public:
 DataFileAdapter(Microsoft::SqlServer::Management::Smo::DataFile ^ file);
public DataFileAdapter (Microsoft.SqlServer.Management.Smo.DataFile file);
new Microsoft.SqlServer.Management.Utility.DataFileAdapter : Microsoft.SqlServer.Management.Smo.DataFile -> Microsoft.SqlServer.Management.Utility.DataFileAdapter
Public Sub New (file As DataFile)

Parameters

file
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.

Applies to