TypeOf Property
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
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.TypeOf property is queried.
構文
object
.TypeOf
Parts
- object
An expression that evaluates to an object in the Applies To list
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);
解説
For SQL-DMO collections, the TypeOf property returns the kind of object contained in the collection.
Applies To:
All SQL-DMO objects