PartitionFunctionParameterCollection.Add PartitionFunctionParameterCollection.Add Method

Definition

Overloads

Add(PartitionFunctionParameter) Add(PartitionFunctionParameter)

Adds a PartitionFunctionParameter object to the PartitionFunctionParameterCollection collection.

Add(PartitionFunctionParameter, Int32) Add(PartitionFunctionParameter, Int32)

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

Add(PartitionFunctionParameter, String) Add(PartitionFunctionParameter, String)

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

Add(PartitionFunctionParameter) Add(PartitionFunctionParameter)

Adds a PartitionFunctionParameter object to the PartitionFunctionParameterCollection collection.

public:
 void Add(Microsoft::SqlServer::Management::Smo::PartitionFunctionParameter ^ partitionFunctionParameter);
public void Add (Microsoft.SqlServer.Management.Smo.PartitionFunctionParameter partitionFunctionParameter);
Parameters
partitionFunctionParameter
PartitionFunctionParameter PartitionFunctionParameter

A PartitionFunctionParameter object value that specifies the partition function parameter to be removed from the PartitionFunctionParameterCollection collection.

Examples

Using Collections

Add(PartitionFunctionParameter, Int32) Add(PartitionFunctionParameter, Int32)

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

public:
 void Add(Microsoft::SqlServer::Management::Smo::PartitionFunctionParameter ^ partitionFunctionParameter, int insertAtPosition);
public void Add (Microsoft.SqlServer.Management.Smo.PartitionFunctionParameter partitionFunctionParameter, int insertAtPosition);
Parameters
partitionFunctionParameter
PartitionFunctionParameter PartitionFunctionParameter

A PartitionFunctionParameter object value that specifies the partition function parameter to be removed from the PartitionFunctionParameterCollection collection.

insertAtPosition
Int32 Int32

An Int32 value that specifies the index at which the PartitionFunctionParameter object inserted into the collection.

Examples

Using Collections

Add(PartitionFunctionParameter, String) Add(PartitionFunctionParameter, String)

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

public:
 void Add(Microsoft::SqlServer::Management::Smo::PartitionFunctionParameter ^ partitionFunctionParameter, System::String ^ insertAtColumnName);
public void Add (Microsoft.SqlServer.Management.Smo.PartitionFunctionParameter partitionFunctionParameter, string insertAtColumnName);
Parameters
partitionFunctionParameter
PartitionFunctionParameter PartitionFunctionParameter

A PartitionFunctionParameter object value that specifies the partition function parameter to be removed from the PartitionFunctionParameterCollection collection.

insertAtColumnName
String String

A String value that specifies the name of the existing PartitionFunctionParameter object after which the new object is inserted into the collection.

Examples

Using Collections

Applies to