다음을 통해 공유


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.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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.