次の方法で共有


Column.Collation プロパティ

列により使用される既定の照合順序を取得または設定します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property Collation As String 
    Get 
    Set
'使用
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)

プロパティ値

型: System.String
既定の照合順序の名前を示す String 値です。

使用例

データベース オブジェクトでの作業

関連項目

参照

Column クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

CREATE TABLE (Transact-SQL)