Freigeben über


Collation-Eigenschaft

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)

Eigenschaftswert

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

Hinweise

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