Name Property (SQL-NS)

The Name property returns the descriptive string displayed in the namespace hierarchy of objects and commands.

Applies To
SQLNamespaceCommand Object SQLNamespaceObject Object

Syntax

object.Name

Part Description
object Expression that evaluates to an object in the Applies To list

Remarks

In the case of the SQLNamespaceCommand object, Name returns the name of the command. The value of Name can then be used as the parameter for the ExecuteCommandByName method on the SQLNamespaceObject object. On the SQLNamespaceObject object, it returns the name of the object.

Data Type

String

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetName(BSTR *pRetVal);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.