This chapter focuses on the DatabaseDialStringDirectory class in WMI.

The DatabaseDialStringDirectory Class

The DatabaseDialStringDirectory class provides status for Database Dial String Directory instances in anynode. All properties are read-only. For each configured Database Dial String Directory, one class instance exists. The property ObjectRecordName has the key qualifier and uniquely identifies an instance.

Some WMI queries are only available starting from anynode version 4.16.(Check out available WMI queries with the PowerShell command below).

To display all available contents of the System class locally without credentials, you can use the following command: Get-WmiObject -Namespace "root\TESYSTEMS\anynode" -Class "DatabaseDialStringDirectory"

-Namespace "root\TESYSTEMS\anynode" : Specifies the WMI namespace for anynode.

-Class "DatabaseDialStringDirectory" : Selects the "AnynodeEvent" class to retrieve its contents.

DatabaseDialStringDirectory Class Properties

The table below lists the properties of the DatabaseDialStringDirectory class in alphabetical order. All properties are read-only.


Property: Comment

Type: string

Description: The property provides the symbolic name of the Database Dial String Directory from configuration.


Property: DatabaseErrorDescription

Type: string

Description: The property provides error details if the database could not be opened (relevant when DatabaseState indicates error).


Property: DatabaseLocation

Type: string

Description: The property provides the file location for SQLite databases. Only meaningful when DatabaseType is DB_TYPE_SQLITE.


Property: DatabaseName

Type: string

Description: The property provides the database name.


Property: DatabasePassword

Type: uint32

Description: The property indicates whether a password is used for server authentication (not applicable for SQLite). Valid values are:

  • 0: Not applicable

  • 1: Yes

  • 2: No


Property: DatabasePort

Type: uint32

Description: The property provides the database server port; 0 means default port (not specified).


Property: DatabaseServer

Type: string

Description: The property provides the hostname or IP address of the database server (not used for DB_TYPE_SQLITE).


Property: DatabaseState

Type: uint32

Description: The property provides the database connection state. Valid values are:

  • 1: Opening

  • 2: Open

  • 3: Error


Property: DatabaseType

Type: string

Description: The property provides the database type. Typical values include DB_TYPE_SQLITE, DB_TYPE_MSSQL, DB_TYPE_MARIASQL, DB_TYPE_POSTGRESQL.


Property: DatabaseUsername

Type: string

Description: The property provides the username for database server authentication (not used for DB_TYPE_SQLITE).


Property: Index

Type: uint32

Description: The property provides the numeric index of the instance (1 .. number of configured directories).


Property: ObjectRecordName

Type: string

Description: The property provides the unique object identifier from configuration. It has the key attribute and identifies the instance.