Compartilhar via


Método Remove (DataFile)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Remove ( _
    dataFile As DataFile _
)
'Uso
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
)

Parâmetros