Compartir a través de


DatabaseOptions.Trustworthy Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

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

Valor de la propiedad

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

Comentarios

By default, this setting is OFF

Vea también

Referencia

DatabaseOptions Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo