Share 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 _
)
protected internal void AddExisting (
    SqlSmoObject smoObj
)
protected public:
void AddExisting (
    SqlSmoObject^ smoObj
)
protected void AddExisting (
    SqlSmoObject smoObj
)
protected internal function AddExisting (
    smoObj : SqlSmoObject
)

Parameters

  • smoObj
    A SqlSmoObject object that specifies the object to be added to the collection.

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

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