ConnectionID Property (SQL-DMO)

The ConnectionID is a SQL-DMO generated identifier for a connected SQLServer object.

Applies To

SQLServer Object

Syntax

object.ConnectionID

Part Description
object Expression that evaluates to an object in the Applies To list

Remarks

The value has meaning only after the SQLServer object has successfully established a connection to a server running Microsoft® SQL Server™. It is unique for each connection.

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetConnectionID(LPLONG plConnectionID);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.