Condividi tramite


Metodo Remove (DataFile)

Removes a DataFile object from the DataFileCollection collection by specifying the object.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Remove ( _
    dataFile As DataFile _
)
'Utilizzo
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
)

Parametri