Version Property

SQL-DMO

SQL-DMO

Version Property

The Version property returns a system-specified integer identifying the version of Microsoft® SQL Server™ 2000 used to create the referenced database.

Applies To
Database Object
Syntax

object.Version

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetVersion(LPLONG pRetVal);