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> _
Public Property Collation As String
    Get
    Set
'Usage
Dim instance As PartitionFunctionParameter
Dim value As String

value = instance.Collation

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

Eigenschaftenwert

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.