DependencyChainCollection.IndexOf Método (Dependency)
No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Searches for the specified Dependency object and returns the zero-based index of the first occurrence within the entire collection.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Function IndexOf ( _
value As Dependency _
) As Integer
'Uso
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
Parámetros
- value
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Dependency
The Dependency object to find in the collection.
Valor devuelto
Tipo: System.Int32
The zero-based index of the first occurrence of value within the collection; -1 if value is not found.