Description (Command Interface)

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

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

備註

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

範例

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