Properties, 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 Command interface supports the following properties.
Property |
Description |
|---|---|
Returns an enumeration constant that identifies the specific class type |
|
Returns an enumeration constant that identifies the command option |
|
Sets or returns the description of the command object |
|
Indicates whether the Name and Statement properties are empty and whether the command object belongs to a collection |
|
Sets or returns the name of the command object |
|
Returns the ordinal position of the command object in the Commands collection of the parent MDStore object |
|
Returns a reference to the parent MDStore object |
|
Returns a reference to the parent object of which this object is a child |
|
Sets or returns the text of the command statement |
|
Returns an enumeration constant that identifies the subclass type of the object |
Access Cross-Reference
The following table shows whether the property is read/write (R/W) or read-only (R) for different objects.
Property |
clsDatabaseCommand |
clsCubeCommand |
clsRoleCommand |
|---|---|---|---|
R |
R |
R |
|
R/W |
R/W |
R/W |
|
R/W |
R/W |
R/W |
|
R |
R |
R |
|
R/W (R after the object has been named) |
R/W (R after the object has been named) |
R/W (R after the object has been named) |
|
R |
R |
R |
|
R |
R |
R |
|
R |
R |
R |
|
R/W |
R/W |
R/W |
|
R |
R |
R |