Delen via


AbstractCollectionBase.AddExisting Method

Adds an object to the collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Friend Sub AddExisting ( _
    smoObj As SqlSmoObject _
)
'Usage
Dim smoObj As SqlSmoObject 

Me.AddExisting(smoObj)
protected internal void AddExisting(
    SqlSmoObject smoObj
)
protected public:
void AddExisting(
    SqlSmoObject^ smoObj
)
member AddExisting : 
        smoObj:SqlSmoObject -> unit
function AddExisting(
    smoObj : SqlSmoObject
)

Parameters

See Also

Reference

AbstractCollectionBase Class

Microsoft.SqlServer.Management.Smo Namespace