Dela via


Description (Command Interface)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The Description property of the Command interface contains the description of the command object.

Applies To:clsCubeCommand, clsDatabaseCommand, clsRoleCommand

Data Type

String

Access

Read/write

Remarks

The primary mechanism for identifying individual command objects is the Name property. The purpose of the Description property is to provide additional descriptive information.

Example

Use the following code to set a command object description:

'Assume a command object (dsoCmd) exists.
dsoCmd.Description = "Create a new profit member as sales-cost."