ObjectContext.DatabaseExists Metoda

Definice

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

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 je delegovaná na metodu DatabaseExists .

Další informace najdete v tématu Práce s jazykem data Definition Language.

Platí pro

Viz také