Add méthode
Adds a DataFile object to the DataFileCollection collection.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
dataFile As DataFile _
)
'Utilisation
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
)
Paramètres
- dataFile
Type : Microsoft.SqlServer.Management.Smo. . :: . .DataFile
A DataFile object that specifies the data file to be added to the DataFileCollection collection.