DataFileCollection.Add Método
Adds a DataFile object to the DataFileCollection collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Add ( _
dataFile As DataFile _
)
'Uso
Dim instance As DataFileCollection
Dim dataFile As DataFile
instance.Add(dataFile)
public void Add(
DataFile dataFile
)
public:
void Add(
DataFile^ dataFile
)
member Add :
dataFile:DataFile -> unit
public function Add(
dataFile : DataFile
)
Parámetros
- dataFile
Tipo: Microsoft.SqlServer.Management.Smo.DataFile
A DataFile object that specifies the data file to be added to the DataFileCollection collection.