DependencyChainCollection.IndexOf Method (Dependency)

Returns the index position of the specified Dependency object within the referenced collection.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

Синтаксис

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

Параметры

  • value
    A Dependency object for which the index position is to be returned.

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

An int32 value that specifies the index position of the Dependency object in the referenced collection.

Замечания

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Пример

How to: Script Out the Dependencies for a Database in Visual Basic .NET

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

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.

См. также

Справочник

DependencyChainCollection Class
DependencyChainCollection Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

Scripting