PartitionFunctionParameterCollection.Add Method (PartitionFunctionParameter, String)
Adds the specified PartitionFunctionParameterobject to the collection at the specified column.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
partitionFunctionParameter As PartitionFunctionParameter, _
insertAtColumnName As String _
)
'Usage
Dim instance As PartitionFunctionParameterCollection
Dim partitionFunctionParameter As PartitionFunctionParameter
Dim insertAtColumnName As String
instance.Add(partitionFunctionParameter, _
insertAtColumnName)
public void Add(
PartitionFunctionParameter partitionFunctionParameter,
string insertAtColumnName
)
public:
void Add(
PartitionFunctionParameter^ partitionFunctionParameter,
String^ insertAtColumnName
)
member Add :
partitionFunctionParameter:PartitionFunctionParameter *
insertAtColumnName:string -> unit
public function Add(
partitionFunctionParameter : PartitionFunctionParameter,
insertAtColumnName : String
)
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.
- insertAtColumnName
Type: System.String
A String value that specifies the name of the existing PartitionFunctionParameter object after which the new object is inserted into the collection.