Ninja Database Pro
DatabaseDirectory Property
Example 



KellermanSoftware.NinjaDatabasePro Namespace > NinjaDbPro Class : DatabaseDirectory Property
The path of the database directory
Syntax
Public ReadOnly Property DatabaseDirectory As String
Dim instance As NinjaDbPro
Dim value As String
 
value = instance.DatabaseDirectory
public string DatabaseDirectory {get;}
public:
property String^ DatabaseDirectory {
   String^ get();
}
Example
NinjaDbPro db = new NinjaDbPro("MyDatabaseDirectory", "MyDatabaseName");
             
            //This will equal "MyDatabaseDirectory" as set in the constructor
            string databaseDirectory = db.DatabaseDirectory;
Dim db As New NinjaDbPro("MyDatabaseDirectory", "MyDatabaseName")
             
            'This will equal "MyDatabaseDirectory" as set in the constructor
            Dim databaseDirectory As String = db.DatabaseDirectory
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