IDatabaseOptions.QuotedIdentifiersEnabled プロパティ

二重引用符 (" ") によって区切られた識別子が Transact-SQL の予約キーワードなのか、または Transact-SQL の構文規則では通常許可されない文字を含んでいるのかを示す Boolean プロパティ値を取得します。値の設定も可能です。

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

構文

'宣言
<DisplayNameKeyAttribute("Database_QuotedIdentifiersEnabledName")> _
<DisplayDescriptionKeyAttribute("Database_QuotedIdentifiersEnabledDesc")> _
Property QuotedIdentifiersEnabled As Boolean 
    Get 
    Set
'使用
Dim instance As IDatabaseOptions 
Dim value As Boolean 

value = instance.QuotedIdentifiersEnabled

instance.QuotedIdentifiersEnabled = value
[DisplayNameKeyAttribute("Database_QuotedIdentifiersEnabledName")]
[DisplayDescriptionKeyAttribute("Database_QuotedIdentifiersEnabledDesc")]
bool QuotedIdentifiersEnabled { get; set; }
[DisplayNameKeyAttribute(L"Database_QuotedIdentifiersEnabledName")]
[DisplayDescriptionKeyAttribute(L"Database_QuotedIdentifiersEnabledDesc")]
property bool QuotedIdentifiersEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Database_QuotedIdentifiersEnabledName")>]
[<DisplayDescriptionKeyAttribute("Database_QuotedIdentifiersEnabledDesc")>]
abstract QuotedIdentifiersEnabled : bool with get, set
function get QuotedIdentifiersEnabled () : boolean 
function set QuotedIdentifiersEnabled (value : boolean)

プロパティ値

型: System.Boolean
二重引用符によって区切られた識別子が Transact-SQL の予約キーワードなのか、または Transact-SQL の構文規則では通常許可されない文字を含んでいるのかを示す Boolean 値。True の場合、二重引用符によって区切られた識別子はオブジェクト識別子として解釈されます。False の場合、二重引用符によって区切られた識別子は、アポストロフィなど、通常 Transact-SQL の構文規則では許可されない文字を含む文字列です。

説明

このオプションは、Transact-SQL の ALTER DATABASE ステートメントを使用して変更することもできます。

使用例

How to Get and Set a Property in Visual Basic .NET

関連項目

参照

IDatabaseOptions インターフェイス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

プロパティの設定

データベース オプション