DependencyChainCollection.Item Property
Gets a Dependency object in the collection by index number.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As Dependency
public Dependency this [
int index
] { get; }
public:
property Dependency^ default [int] {
Dependency^ get (int index);
}
/** @property */
public Dependency get_Item (int index)
Parameters
- index
An Int32 value that specifies the position of the Dependency object in the DependencyChainCollection collection.
Property Value
A Dependency object value that represents the dependency chain.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Script Out the Dependencies for a Database in Visual Basic .NET
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
DependencyChainCollection Class
DependencyChainCollection Members
Microsoft.SqlServer.Management.Smo Namespace