مشاركة عبر


DatabaseOptions.Trustworthy Property

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
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Trustworthy As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

By default, this setting is OFF

See Also

Reference

DatabaseOptions Class

Microsoft.SqlServer.Management.Smo Namespace