次の方法で共有


Database.ContainmentType プロパティ

コンテインメントの種類を取得または設定します。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ContainmentType As ContainmentType 
    Get 
    Set
'使用
Dim instance As Database 
Dim value As ContainmentType 

value = instance.ContainmentType

instance.ContainmentType = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public ContainmentType ContainmentType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property ContainmentType ContainmentType {
    ContainmentType get ();
    void set (ContainmentType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ContainmentType : ContainmentType with get, set
function get ContainmentType () : ContainmentType 
function set ContainmentType (value : ContainmentType)

プロパティ値

型: Microsoft.SqlServer.Management.Smo.ContainmentType
包含するオブジェクトです。

関連項目

参照

Database クラス

Microsoft.SqlServer.Management.Smo 名前空間