TraceCollection.IndexOf Método (String)

Gets the index of a Trace that has the specified identifier.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

VB
'Declaración
Public Function IndexOf ( _
    id As String _
) As Integer
'Uso
Dim instance As TraceCollection 
Dim id As String 
Dim returnValue As Integer 

returnValue = instance.IndexOf(id)

Parámetros

Valor devuelto

Tipo: System.Int32
The zero-based index of the Trace specified by id if the object is found; otherwise, -1.

Vea también

Referencia

TraceCollection Clase

Sobrecarga de IndexOf

Espacio de nombres Microsoft.AnalysisServices