TypeOf Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The TypeOf property returns an enumerated value identifying a kind of SQL Distributed Management Objects (SQL-DMO) object. For example, a Backup object returns SQLDMOObj_Backup if the object.TypeOfproperty is queried.


object
.TypeOf 

object

An expression that evaluates to an object in the Applies To list

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

Read-only

HRESULT GetTypeOf(LPLONG pRetVal);

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

All SQL-DMO objects

Community Additions

ADD
Show: