AddExisting 方法
Adds an object to the collection.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Protected Friend Sub AddExisting ( _
smoObj As SqlSmoObject _
)
'用途
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
)
參數
- smoObj
型別:Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
A SqlSmoObject object that specifies the object to be added to the collection.