IDatabaseOptions.Trustworthy プロパティ

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

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

構文

'宣言
<DisplayNameKeyAttribute("Database_TrustworthyName")> _
<DisplayDescriptionKeyAttribute("Database_TrustworthyDesc")> _
Property Trustworthy As Boolean 
    Get 
    Set
'使用
Dim instance As IDatabaseOptions 
Dim value As Boolean 

value = instance.Trustworthy

instance.Trustworthy = value
[DisplayNameKeyAttribute("Database_TrustworthyName")]
[DisplayDescriptionKeyAttribute("Database_TrustworthyDesc")]
bool Trustworthy { get; set; }
[DisplayNameKeyAttribute(L"Database_TrustworthyName")]
[DisplayDescriptionKeyAttribute(L"Database_TrustworthyDesc")]
property bool Trustworthy {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Database_TrustworthyName")>]
[<DisplayDescriptionKeyAttribute("Database_TrustworthyDesc")>]
abstract Trustworthy : bool with get, set
function get Trustworthy () : boolean 
function set Trustworthy (value : boolean)

プロパティ値

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

説明

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

関連項目

参照

IDatabaseOptions インターフェイス

Microsoft.SqlServer.Management.Smo 名前空間