Udostępnij przez


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. 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

'Deklaracja
<SfcPropertyAttribute> _
Public Property Trustworthy As Boolean
[SfcPropertyAttribute] 
public bool Trustworthy { get; set; }
[SfcPropertyAttribute] 
public:
property bool Trustworthy {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_Trustworthy ()

/** @property */
public void set_Trustworthy (boolean value)
public function get Trustworthy () : boolean

public function set Trustworthy (value : boolean)

Property Value

A Boolean value specifying the Trustworthy property.

Property Value

A Boolean value specifying the Trustworthy property.

Remarks

By default, this setting is OFF

Remarks

By default, this setting is OFF

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.