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
)
參數
- partitionFunctionParameter
型別:Microsoft.SqlServer.Management.Smo. . :: . .PartitionFunctionParameter
A PartitionFunctionParameter object value that specifies the partition function parameter to be removed from the PartitionFunctionParameterCollection collection.
- insertAtPosition
型別:System. . :: . .Int32
An Int32 value that specifies the index at which the PartitionFunctionParameter object inserted into the collection.