PartitionFunctionParameter.Collation Property

Gets or sets the Microsoft SQL Server collation for the partition function parameter.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Property Collation As String
public string Collation { get; set; }
public:
property String^ Collation {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Collation ()

/** @property */
public void set_Collation (String value)
public function get Collation () : String

public function set Collation (value : String)

Property Value

A String value that specifies the collation name.

Remarks

Returns an empty string if the parameter is not of a character-based data type.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Set Up a Partition Scheme for a Table in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

PartitionFunctionParameter Class
PartitionFunctionParameter Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Table and Index Partitioning
CREATE PARTITION FUNCTION (Transact-SQL)