Share via


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.

Applies To:

Database Object