Partager via


Propriété Trustworthy

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property Trustworthy As Boolean
    Get
    Set
'Utilisation
Dim instance As DatabaseOptions
Dim value As Boolean

value = instance.Trustworthy

instance.Trustworthy = value
[SfcPropertyAttribute]
public bool Trustworthy { get; set; }
[SfcPropertyAttribute]
public:
property bool Trustworthy {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member Trustworthy : bool with get, set
function get Trustworthy () : boolean
function set Trustworthy (value : boolean)

Valeur de propriété

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

Notes

By default, this setting is OFF