SqlSystem.loginDatabase 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.
Retrieves the name of the database currently connected to.
public:
virtual System::String ^ loginDatabase();
public virtual string loginDatabase ();
abstract member loginDatabase : unit -> string
override this.loginDatabase : unit -> string
Public Overridable Function loginDatabase () As String
Returns
The name of the database currently connected to.
Remarks
The following example demonstrates the loginDatabase method.
{
SqlSystem SqlSystem = new SqlSystem();
print SqlSystem.loginDatabase();
}