Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Searches for the specified Dependency object and returns the zero-based index of the first occurrence within the entire collection.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Public Function IndexOf ( _
value As Dependency _
) As Integer
'Применение
Dim instance As DependencyChainCollection
Dim value As Dependency
Dim returnValue As Integer
returnValue = instance.IndexOf(value)
public int IndexOf(
Dependency value
)
public:
int IndexOf(
Dependency^ value
)
member IndexOf :
value:Dependency -> int
public function IndexOf(
value : Dependency
) : int
Параметры
- value
Тип: Microsoft.SqlServer.Management.Sdk.Sfc.Dependency
The Dependency object to find in the collection.
Возвращаемое значение
Тип: System.Int32
The zero-based index of the first occurrence of value within the collection; -1 if value is not found.