DbProviderServices.DbDeleteDatabase 方法

定義

從資料庫刪除存放區項目集合中指定的所有存放區物件,然後刪除資料庫本身。

protected:
 virtual void DbDeleteDatabase(System::Data::Common::DbConnection ^ connection, Nullable<int> commandTimeout, System::Data::Metadata::Edm::StoreItemCollection ^ storeItemCollection);
protected virtual void DbDeleteDatabase (System.Data.Common.DbConnection connection, int? commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection);
abstract member DbDeleteDatabase : System.Data.Common.DbConnection * Nullable<int> * System.Data.Metadata.Edm.StoreItemCollection -> unit
override this.DbDeleteDatabase : System.Data.Common.DbConnection * Nullable<int> * System.Data.Metadata.Edm.StoreItemCollection -> unit
Protected Overridable Sub DbDeleteDatabase (connection As DbConnection, commandTimeout As Nullable(Of Integer), storeItemCollection As StoreItemCollection)

參數

connection
DbConnection

需要刪除之現有資料庫的連接。

commandTimeout
Nullable<Int32>

刪除資料庫時所需之任何命令的執行逾時時間。

storeItemCollection
StoreItemCollection

要刪除之資料庫的結構。

適用於