Partager via


Description (Command Interface)

Notes

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

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

Notes

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

Exemple

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."