Share via


Propriété Collation

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Collation As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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