PartitionSchemeParameterCollection.Add Method (PartitionSchemeParameter, Int32)
Adds the specified PartitionSchemeParameterobject 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 ( _
partitionSchemeParameter As PartitionSchemeParameter, _
insertAtPosition As Integer _
)
'Usage
Dim instance As PartitionSchemeParameterCollection
Dim partitionSchemeParameter As PartitionSchemeParameter
Dim insertAtPosition As Integer
instance.Add(partitionSchemeParameter, _
insertAtPosition)
public void Add(
PartitionSchemeParameter partitionSchemeParameter,
int insertAtPosition
)
public:
void Add(
PartitionSchemeParameter^ partitionSchemeParameter,
int insertAtPosition
)
member Add :
partitionSchemeParameter:PartitionSchemeParameter *
insertAtPosition:int -> unit
public function Add(
partitionSchemeParameter : PartitionSchemeParameter,
insertAtPosition : int
)
Parameters
- partitionSchemeParameter
Type: Microsoft.SqlServer.Management.Smo.PartitionSchemeParameter
A PartitionSchemeParameter object value that specifies the partition scheme parameter to be removed from the PartitionSchemeParameterCollection collection.
- insertAtPosition
Type: System.Int32
An Int32 value that specifies the index at which the PartitionSchemeParameter object inserted into the collection.