PartitionFunctionParameterCollection.Add Method (PartitionFunctionParameter, Int32)
Adds the specified PartitionFunctionParameterobject to the collection at the specified index.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
partitionFunctionParameter As PartitionFunctionParameter, _
insertAtPosition As Integer _
)
'Usage
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
)
Parameters
- partitionFunctionParameter
Type: Microsoft.SqlServer.Management.Smo.PartitionFunctionParameter
A PartitionFunctionParameter object value that specifies the partition function parameter to be removed from the PartitionFunctionParameterCollection collection.
- insertAtPosition
Type: System.Int32
An Int32 value that specifies the index at which the PartitionFunctionParameter object inserted into the collection.