BncsFramework.AddDatabase Method

<< Click to Display Table of Contents >>

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

BncsFramework.AddDatabase Method

Adds a database for a specific device ID.

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

 

Syntax


public static BncsDatabase AddDatabase(
 uint deviceId,
 uint database
)

Parameters

deviceId

Type: UInt32
The ID of the device.

database

Type: UInt32
The database to be added.

Return Value

The added BncsDatabase object.

 

Exceptions


Exception

Condition

[Exception]

Thrown if BNCS is not enabled.

 

See Also


BncsFramework Class

BNCS.Core.DriverFramework Namespace