Aracılığıyla paylaş


IDatabaseSecurityFacet.Trustworthy Property

Gets or sets a Boolean value that specifies if the database is trusted by the instance of SQL Server.

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

Syntax

'Bildirim
<DisplayDescriptionKeyAttribute("Database_TrustworthyDesc")> _
<DisplayNameKeyAttribute("Database_TrustworthyName")> _
Property Trustworthy As Boolean
    Get
    Set
'Kullanım
Dim instance As IDatabaseSecurityFacet
Dim value As Boolean

value = instance.Trustworthy

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

Property Value

Type: System.Boolean
If True the database is trustworthy.
If False the database is not trustworthy.

See Also

Reference

IDatabaseSecurityFacet Interface

Microsoft.SqlServer.Management.Smo Namespace