Metoda Remove (DataFile)
Usuwa DataFile obiekt z DataFileCollection kolekcja, określając obiektu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
Public Sub Remove ( _
dataFile As DataFile _
)
'Użycie
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
)
Parameters
- dataFile
Typ: Microsoft.SqlServer.Management.Smo. . :: . .DataFile
A DataFile obiekt ma zostać usunięty z DataFileCollection kolekcja.
Zobacz także