Méthode DataFileCollection.Remove (DataFile)
Removes a DataFile object from the DataFileCollection collection by specifying the object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Remove ( _
dataFile As DataFile _
)
'Utilisation
Dim instance As DataFileCollection
Dim dataFile As DataFile
instance.Remove(dataFile)
public void Remove(
DataFile dataFile
)
public:
void Remove(
DataFile^ dataFile
)
member Remove :
dataFile:DataFile -> unit
public function Remove(
dataFile : DataFile
)
Paramètres
- dataFile
Type : Microsoft.SqlServer.Management.Smo.DataFile
A DataFile object to be removed from the DataFileCollection collection.