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
- smoObj
Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object that specifies the object to be added to the collection.