DbProviderServices.DbDeleteDatabase Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes all store objects specified in the store item collection from the database and the database itself.
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)
Parameters
- connection
- DbConnection
Connection to an existing database that needs to be deleted.
- storeItemCollection
- StoreItemCollection
The structure of the database to be deleted.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.