Condividi tramite


Proprietà Collation

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

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public Property Collation As String
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Osservazioni

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