BncsFramework.GetDatabase Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods >

BncsFramework.GetDatabase Method

Retrieves the specified database for the given device ID.

Namespace: BNCS.Core.DriverFramework
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public static BncsDatabase GetDatabase(
 uint deviceId,
 uint database
)

Parameters

deviceId

Type: UInt32
The ID of the device.

database

Type: UInt32
The ID of the database to retrieve.

Return Value

The database object corresponding to the specified device ID and database ID.

 

Exceptions


Exception

Condition

[Exception]

Thrown if BNCS is not enabled.

 

See Also


BncsFramework Class

BNCS.Core.DriverFramework Namespace