QuotedIdentifierStatus 屬性
取得或設定 Boolean 屬性值,指定以雙引號分隔的識別碼是否為 Transact-SQL 保留的關鍵字,或包含 Transact-SQL 語法規則通常不允許的字元。
命名空間: 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 QuotedIdentifierStatus As Boolean
Get
Set
'用途
Dim instance As StoredProcedure
Dim value As Boolean
value = instance.QuotedIdentifierStatus
instance.QuotedIdentifierStatus = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool QuotedIdentifierStatus { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property bool QuotedIdentifierStatus {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member QuotedIdentifierStatus : bool with get, set
function get QuotedIdentifierStatus () : boolean
function set QuotedIdentifierStatus (value : boolean)
屬性值
型別:System. . :: . .Boolean
Boolean 值,指定如何在預存程序中處理加上引號的識別碼。
如果為 True,加上引號的識別碼就會用來允許 Transact-SQL 語法規則通常不允許的字元。
如果為 False (預設值),加上引號的識別碼就會用來指定 Transact-SQL 保留的關鍵字。