Método Add
Adds a DataFile object to the DataFileCollection collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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.