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."
请参阅
参考
Command Interface
Name (Command Interface)