PartitionFunctionParameter.Collation Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Collation As String 
    Get 
    Set
'Usage
Dim instance As PartitionFunctionParameter 
Dim value As String 

value = instance.Collation

instance.Collation = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string Collation { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ Collation {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Collation : string with get, set
function get Collation () : String 
function set Collation (value : String)

Property Value

Type: System.String
A String value that specifies the collation name.

Remarks

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

Examples

Using Filegroups and Files to Store Data

See Also

Reference

PartitionFunctionParameter Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE PARTITION FUNCTION (Transact-SQL)