GetDatatypeByName Method
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The GetDatatypeByName method returns an object that references the named system or user-defined data type.
構文
object
.GetDatatypeByName(
Datatype
)
as
Variant
Parts
- object
Expression that evaluates to an object in the Applies To list.
- Datatype
String that specifies a system or user-defined data type by name.
Prototype (C/C++)
HRESULT GetDatatypeByName(
SQLDMO_LPCSTR szName,
LPSQLDMOSTDOBJECT* ppDBObject);
Returns
A variant that references an object.
解説
Use the TypeOf property to determine the nature of the data type returned. Interpret the TypeOf property using SQLDMO_OBJECT_TYPE.