Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.
The GetDatatypeByName method returns an object that references the named system or user-defined data type.
Syntaxe
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.
Notes
Use the TypeOf property to determine the nature of the data type returned. Interpret the TypeOf property using SQLDMO_OBJECT_TYPE.