QuotedIdentifiersEnabled プロパティ
二重引用符 ("") によって区切られた識別子が Transact-SQL の予約キーワードなのか、または通常 Transact-SQL の構文ルールでは許可されない文字を含んでいるのかを示す Boolean プロパティ値を取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute> _
Public Property QuotedIdentifiersEnabled As Boolean
Get
Set
'使用
Dim instance As Database
Dim value As Boolean
value = instance.QuotedIdentifiersEnabled
instance.QuotedIdentifiersEnabled = value
[SfcPropertyAttribute]
public bool QuotedIdentifiersEnabled { get; set; }
[SfcPropertyAttribute]
public:
virtual property bool QuotedIdentifiersEnabled {
bool get () sealed;
void set (bool value) sealed;
}
[<SfcPropertyAttribute>]
abstract QuotedIdentifiersEnabled : bool with get, set
[<SfcPropertyAttribute>]
override QuotedIdentifiersEnabled : bool with get, set
final function get QuotedIdentifiersEnabled () : boolean
final function set QuotedIdentifiersEnabled (value : boolean)
プロパティ値
型: System. . :: . .Boolean
二重引用符によって区切られた識別子が Transact-SQL の予約キーワードなのか、または通常 Transact-SQL の構文ルールでは許可されない文字を含んでいるのかを示す Boolean 値。True の場合、二重引用符によって区切られた識別子はオブジェクト識別子として解釈されます。False の場合、二重引用符によって区切られた識別子は、アポストロフィなど、通常 Transact-SQL 構文ルールでは許可されない文字を含む文字列です。
実装
説明
このオプションは、Transact-SQL の ALTER DATABASE ステートメントを使用して変更することもできます。