Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Do not reference this member directly in your code. It supports the SQL Server infrastructure. Searches for the specified Dependency object and returns the zero-based index of the first occurrence within the entire collection.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Function IndexOf ( _
value As Dependency _
) As Integer
'Usage
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
Parameters
- value
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Dependency
The Dependency object to find in the collection.
Return Value
Type: System.Int32
The zero-based index of the first occurrence of value within the collection; -1 if value is not found.