Description

The name of this McDBType (Object Type) object instance.

Property type

A String value.  

Syntax

object.Name [= value]

The Name Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBType.
valueA String value.

Remarks

All McDBType objects must have a non-empty Name.

Exceptions

Error Value Description
CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT &H80004024 This McDBType is the Database stock (system) McDBType. It may not be renamed.
E_INVALIDARG &H80070057 The Name being assigned is not valid. All McDBType objects must have a non-empty name.
E_ACCESSDENIED &H80070005 The McDBDatabase.LoggedUser does not have the McDBRightsOwner.ObjectTypeAdminRight property set.
E_UNEXPECTED &H8001FFFF A framework error occurred while assigning the name.