TypeOf Property (SQL-DMO)

The TypeOf property returns an enumerated value identifying a kind of SQL-DMO object. For example, a Backup object returns SQLDMOObj_Backup when the object.TypeOf property is queried.

Applies To

All SQL-DMO objects

Syntax

object.TypeOf

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

Remarks

For SQL-DMO collections, the TypeOf property returns the kind of object contained in the collection.

Data Type

Long, enumerated. For more information about value enumeration, see SQL-DMO Object Type Constants (SQLDMO_OBJECT_TYPE).

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetTypeOf(LPLONG pRetVal);


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