共用方式為


Add 方法 (PartitionFunctionParameter, Int32)

Adds the specified PartitionFunctionParameterobject to the collection at the specified index.

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

語法

'宣告
Public Sub Add ( _
    partitionFunctionParameter As PartitionFunctionParameter, _
    insertAtPosition As Integer _
)
'用途
Dim instance As PartitionFunctionParameterCollection
Dim partitionFunctionParameter As PartitionFunctionParameter
Dim insertAtPosition As Integer

instance.Add(partitionFunctionParameter, _
    insertAtPosition)
public void Add(
    PartitionFunctionParameter partitionFunctionParameter,
    int insertAtPosition
)
public:
void Add(
    PartitionFunctionParameter^ partitionFunctionParameter, 
    int insertAtPosition
)
member Add : 
        partitionFunctionParameter:PartitionFunctionParameter * 
        insertAtPosition:int -> unit 
public function Add(
    partitionFunctionParameter : PartitionFunctionParameter, 
    insertAtPosition : int
)

參數

範例

使用集合