共用方式為


Add 方法

Adds a PhysicalPartition object to the PhysicalPartitionCollection collection.

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

語法

'宣告
Public Sub Add ( _
    physicalPartition As PhysicalPartition _
)
'用途
Dim instance As PhysicalPartitionCollection
Dim physicalPartition As PhysicalPartition

instance.Add(physicalPartition)
public void Add(
    PhysicalPartition physicalPartition
)
public:
void Add(
    PhysicalPartition^ physicalPartition
)
member Add : 
        physicalPartition:PhysicalPartition -> unit 
public function Add(
    physicalPartition : PhysicalPartition
)

參數

範例

使用集合