共用方式為


Add 方法

Adds a Resource Pool to the Resource Pool Collection.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Add ( _
    resourcePool As ResourcePool _
)
'用途
Dim instance As ResourcePoolCollection
Dim resourcePool As ResourcePool

instance.Add(resourcePool)
public void Add(
    ResourcePool resourcePool
)
public:
void Add(
    ResourcePool^ resourcePool
)
member Add : 
        resourcePool:ResourcePool -> unit 
public function Add(
    resourcePool : ResourcePool
)