Поделиться через


Свойство Trustworthy

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute> _
Public Property Trustworthy As Boolean
    Get
    Set
'Применение
Dim instance As Database
Dim value As Boolean

value = instance.Trustworthy

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

Значение свойства

Тип System. . :: . .Boolean
Boolean indicating if the trustworthy property is enabled.

Реализует интерфейс

IDatabaseOptions. . :: . .Trustworthy

Замечания

Be default, this setting is OFF.