CommandCollection.IndexOf Method (Command)

 

Applies To: SQL Server 2016 Preview

Gets the index of a specified Command.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

public int IndexOf(
    Command item
)
public:
int IndexOf(
    Command^ item
)
member IndexOf : 
        item:Command -> int
Public Function IndexOf (
    item As Command
) As Integer

Parameters

Return Value

Type: System.Int32

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

See Also

CommandCollection Class
Microsoft.AnalysisServices Namespace

Return to top