Propriété Database.Trustworthy

Gets or sets a value that indicates whether the instance of SQL Server 2005 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(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property Trustworthy As Boolean 
    Get 
    Set
'Utilisation
Dim instance As Database 
Dim value As Boolean 

value = instance.Trustworthy

instance.Trustworthy = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool Trustworthy { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
virtual property bool Trustworthy {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
abstract Trustworthy : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
override Trustworthy : bool with get, set
final function get Trustworthy () : boolean 
final function set Trustworthy (value : boolean)

Valeur de propriété

Type : System.Boolean
true if the trustworthy property is enabled; otherwise, false.

Implémente

IDatabaseOptions.Trustworthy

Notes

By default, this setting is OFF.

Voir aussi

Référence

Database Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Utilisation des objets de base de données

Définition de propriétés

Création, modification et suppression de bases de données