PickDPConnection Component

Represents an open connection to a Pick Server database. This class cannot be inherited.  

Public Constructors

New

Constructor.

Public Methods

BeginTransaction (inherited from IDbConnection)

Begins a database transaction.

ChangeDatabase (inherited from IDbConnection)

Changes the current database for an open Connection object. If a nonexisting database is specified, a PickDPInvalidConnectionException is thrown with the status of connDatabase.kDatabase_IllegalAccount.

Close (inherited from IDbConnection)

Closes the connection to the database.

CreateCommand (inherited from IDbConnection)

Creates and returns a Command object associated with the connection.

Dispose

For internal use only.

getDatabase

Gets the connDatabase for which the connection is created.

Open (inherited from IDbConnection)

Opens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.

TransactionsSupported

Indicates whether the server supports transactions. Not implemented at this time.

Public Properties

Name

Type

Description

AccountPassword

String

Gets the D3 account password.

ConnectionString

String

Gets or sets the string used to open a database.

ConnectionTimeout

Integer

Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.

Database

String

Gets the name of the current database or the database to use after a connection is opened.

DataSource

String

Gets the name of the instance of Pick Server to which to connect.

Debug

Boolean

Displays additional trace listener information.

Password

String

Gets the PickDP user password of the user connected to the Pick Server.

Port

Integer

Gets the port number to connect to the Pick Server.

State

System.Data.ConnectionState

Gets the current state of the connection.

UserName

String

Gets the user name of the user connected to the Pick Server.

 

 

Portions Copyright Microsoft© Corporation