Partager via


DependencyChainCollection.IndexOf Method (Dependency)

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

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

Syntaxe

'Déclaration
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

Paramètres

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

Valeur de retour

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

Notes

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

Exemple

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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

Autres ressources

Scripting