次の方法で共有


Information.Collation プロパティ

SQL Server のインスタンスの既定の照合順序を取得します。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property Collation As String 
    Get
'使用
Dim instance As Information 
Dim value As String 

value = instance.Collation
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string Collation { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property String^ Collation {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member Collation : string
function get Collation () : String

プロパティ値

型: System.String
SQL Server のインスタンスの既定の照合順序を示す String 値です。

使用例

SMO での SQL Server の構成

関連項目

参照

Information クラス

Microsoft.SqlServer.Management.Smo 名前空間