Ninja Database Pro
DatabaseName Property
Example 



KellermanSoftware.NinjaDatabasePro Namespace > NinjaDbPro Class : DatabaseName Property
The name of the database
Syntax
Public ReadOnly Property DatabaseName As String
Dim instance As NinjaDbPro
Dim value As String
 
value = instance.DatabaseName
public string DatabaseName {get;}
public:
property String^ DatabaseName {
   String^ get();
}
Example
NinjaDbPro db = new NinjaDbPro("MyDatabaseDirectory", "MyDatabaseName");
             
            //This will equal "MyDatabaseName" as set in the constructor
            string databaseDirectory = db.DatabaseName;
Dim db As New NinjaDbPro("MyDatabaseDirectory", "MyDatabaseName")
             
            'This will equal "MyDatabaseName" as set in the constructor
            Dim databaseDirectory As String = db.DatabaseName
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NinjaDbPro Class
NinjaDbPro Members