共用方式為


Add 方法

Adds a Partition Function to the collection.

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

語法

'宣告
Public Sub Add ( _
    partitionFunction As PartitionFunction _
)
'用途
Dim instance As PartitionFunctionCollection
Dim partitionFunction As PartitionFunction

instance.Add(partitionFunction)
public void Add(
    PartitionFunction partitionFunction
)
public:
void Add(
    PartitionFunction^ partitionFunction
)
member Add : 
        partitionFunction:PartitionFunction -> unit 
public function Add(
    partitionFunction : PartitionFunction
)

範例

使用集合