Compartir a través de


CommandCollection.IndexOf Method

Gets the index of a specified Command.

Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Sintaxis

'Declaración
Public Function IndexOf ( _
    item As Command _
) As Integer
public int IndexOf (
    Command item
)
public:
int IndexOf (
    Command^ item
)
public int IndexOf (
    Command item
)
public function IndexOf (
    item : Command
) : int

Parámetros

Valor devuelto

The zero-based index of the Command if the object is found; otherwise, -1.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

CommandCollection Class
CommandCollection Members
Microsoft.AnalysisServices Namespace