Udostępnij przez


IDatabaseSecurityFacet.Trustworthy Property

Gets or sets a Boolean value that specifies if the database is trusted by the instance of SQL Server. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayNameKeyAttribute("Database_TrustworthyName")> _
<DisplayDescriptionKeyAttribute("Database_TrustworthyDesc")> _
Property Trustworthy As Boolean
[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);
}
/** @property */
boolean get_Trustworthy ()

/** @property */
void set_Trustworthy (boolean value)
function get Trustworthy () : boolean

function set Trustworthy (value : boolean)

Property Value

If True the database is trustworthy. If False the database is not trustworthy.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.