Επεξεργασία

Κοινή χρήση μέσω


ObjectContext.DatabaseExists Method

Definition

Checks if the database that is specified as the database in the current data source connection exists on the data source.

public:
 bool DatabaseExists();
public bool DatabaseExists ();
member this.DatabaseExists : unit -> bool
Public Function DatabaseExists () As Boolean

Returns

true if the database exists.

Remarks

Most of the work is delegated to the DatabaseExists method.

For more information, see Working with Data Definition Language.

Applies to

See also