DataFileCollection.Remove 方法 (DataFile)
Removes a DataFile object from the DataFileCollection collection by specifying the object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Remove ( _
dataFile As DataFile _
)
'用途
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
)
參數
- dataFile
型別:Microsoft.SqlServer.Management.Smo.DataFile
A DataFile object to be removed from the DataFileCollection collection.