共用方式為


ConcatenateNullYieldsNull 屬性

取得或設定屬性值,這個值會指定 CONCAT_NULL_YIELDS_NULL 資料庫選項是否作用中。

命名空間:  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 ConcatenateNullYieldsNull As Boolean
    Get
    Set
'用途
Dim instance As Database
Dim value As Boolean

value = instance.ConcatenateNullYieldsNull

instance.ConcatenateNullYieldsNull = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool ConcatenateNullYieldsNull { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
virtual property bool ConcatenateNullYieldsNull {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
abstract ConcatenateNullYieldsNull : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
override ConcatenateNullYieldsNull : bool with get, set
final function get ConcatenateNullYieldsNull () : boolean
final function set ConcatenateNullYieldsNull (value : boolean)

屬性值

型別:System. . :: . .Boolean
Boolean 值,這個值會指定 ConcatenateNullYieldsNull 資料庫選項是否作用中。如果為 True,串連的結果就是 NULL。如果為 False (預設值),此值就會與零字串串連。

實作

IDatabaseOptions. . :: . .ConcatenateNullYieldsNull

備註

This property specifies whether a value that is concatenated with a null value results in a null value or in a zero string.