AnsiNullsEnabled 属性
获取或设置 Boolean ANSI_NULLS_ENABLED 属性值。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design, _
"false")> _
Public Property AnsiNullsEnabled As Boolean
Get
Set
用法
Dim instance As Database
Dim value As Boolean
value = instance.AnsiNullsEnabled
instance.AnsiNullsEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design,
"false")]
public bool AnsiNullsEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design,
L"false")]
public:
virtual property bool AnsiNullsEnabled {
bool get () sealed;
void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design,
"false")>]
abstract AnsiNullsEnabled : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design,
"false")>]
override AnsiNullsEnabled : bool with get, set
final function get AnsiNullsEnabled () : boolean
final function set AnsiNullsEnabled (value : boolean)
属性值
类型:System. . :: . .Boolean
一个 Boolean 值,该值指定 AnsiNullsEnabled 数据库选项是否处于活动状态。如果为 True,则与 Null 值之间的比较结果将等于 false。如果为 False(默认值),则与 Null 值之间的比较结果将等于 true。