DatabaseOptions.Trustworthy プロパティ

TRUSTWORTHY データベース プロパティを使用して、SQL Server インスタンスがデータベースとその内容を信頼するかどうかを示します。

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

構文

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

value = instance.Trustworthy

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

プロパティ値

型: System.Boolean
TRUSTWORTHY プロパティを示す Boolean 値。

説明

既定では、この設定は OFF です。

関連項目

参照

DatabaseOptions クラス

Microsoft.SqlServer.Management.Smo 名前空間