Database Property
Specifies the name of the current database if the provider is SQL Server.
Syntax
object.Database [= String]
Parameters
The Database property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
String |
The name of the currently connected database; for example: Northwind. |