Click or drag to resize

DetachedDeviceLinkGetDatabaseID Method

Gets the device database ID, i.e., the DatabaseIDKey value, defined in the specified connection string, if any.

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.318-beta
Syntax
public static int GetDatabaseID(
	string connectionString
)
View Source

Parameters

connectionString  String
Connection string to check.

Return Value

Int32
Defined device database ID; otherwise, zero when key is not defined.
See Also