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