Share via


IDatabaseOptions.Trustworthy-Eigenschaft

The TRUSTWORTHY database property is used to indicate whether the instance of SQL Server trusts the database and the contents within it.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayNameKeyAttribute("Database_TrustworthyName")> _
<DisplayDescriptionKeyAttribute("Database_TrustworthyDesc")> _
Property Trustworthy As Boolean 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: System.Boolean
A Boolean value specifying the Trustworthy property.

Hinweise

By default, this setting is OFF

Siehe auch

Verweis

IDatabaseOptions Schnittstelle

Microsoft.SqlServer.Management.Smo-Namespace