次の方法で共有


Name (Command Interface)

ms135501.note(ja-jp,SQL.90).gifメモ :
  この機能は、Microsoft SQL Server の次のバージョンで削除されます。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

The Name property of the Command interface contains the name of a command object. This property is the primary mechanism for identifying individual command objects.

Applies To:clsCubeCommand, clsDatabaseCommand, clsRoleCommand

Data Type

String

Access

Read/write (read-only after the object has been named)

解説

Within a cube, each command must have a unique name. For more information about naming conventions for Decision Support Objects (DSO) objects, see Considerations For Naming Decision Support Objects.

使用例

Use the following code to print a command object's name in the immediate window:

'Assume a command object (dsoCmd) exists.
debug.print dsoCmd.Name

参照

関連項目

Command Interface

ヘルプおよび情報

SQL Server 2005 の参考資料の入手