DependencyCollection.Insert Method
Inserts a DependencyCollectionNode object at the specified index position in the DependencyCollection object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
dependencyCollectionNode As DependencyCollectionNode _
)
'Usage
Dim instance As DependencyCollection
Dim index As Integer
Dim dependencyCollectionNode As DependencyCollectionNode
instance.Insert(index, dependencyCollectionNode)
public void Insert(
int index,
DependencyCollectionNode dependencyCollectionNode
)
public:
virtual void Insert(
int index,
DependencyCollectionNode^ dependencyCollectionNode
) sealed
abstract Insert :
index:int *
dependencyCollectionNode:DependencyCollectionNode -> unit
override Insert :
index:int *
dependencyCollectionNode:DependencyCollectionNode -> unit
public final function Insert(
index : int,
dependencyCollectionNode : DependencyCollectionNode
)
Parameters
- index
Type: System.Int32
An Int32 value that specifies the index position in the DependencyCollection.
- dependencyCollectionNode
Type: Microsoft.SqlServer.Management.Smo.DependencyCollectionNode
A DependencyCollectionNode object that specifies the object that is inserted in the collection at the specified index position.