Поделиться через


TraceCollection.IndexOf Method (Trace)

Gets the index of a specified Trace.

Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Синтаксис

'Декларация
Public Function IndexOf ( _
    item As Trace _
) As Integer
public int IndexOf (
    Trace item
)
public:
int IndexOf (
    Trace^ item
)
public int IndexOf (
    Trace item
)
public function IndexOf (
    item : Trace
) : int

Параметры

  • item
    The Trace to return.

Возвращаемое значение

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

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

TraceCollection Class
TraceCollection Members
Microsoft.AnalysisServices Namespace