Column.Collation Propiedad
Gets or sets the default collation that is used by the column.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property Collation As String
Get
Set
'Uso
Dim instance As Column
Dim value As String
value = instance.Collation
instance.Collation = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public string Collation { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property String^ Collation {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member Collation : string with get, set
function get Collation () : String
function set Collation (value : String)
Valor de la propiedad
Tipo: System.String
A String value that specifies the name of the default collation.
Ejemplos
Trabajar con objetos de bases de datos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo