ObjectContext.DatabaseExists Metoda

Definice

Zkontroluje, jestli databáze zadaná jako databáze v aktuálním připojení ke zdroji dat existuje.

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

Návraty

true pokud databáze existuje.

Poznámky

Většina práce se deleguje na metodu DatabaseExists .

Další informace naleznete v tématu Práce s jazykem Definice dat.

Platí pro

Viz také