다음을 통해 공유


IDatabaseOptions.Trustworthy 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<DisplayNameKeyAttribute("Database_TrustworthyName")> _
<DisplayDescriptionKeyAttribute("Database_TrustworthyDesc")> _
Property Trustworthy As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As IDatabaseOptions 
Dim value As Boolean 

value = instance.Trustworthy

instance.Trustworthy = value
[DisplayNameKeyAttribute("Database_TrustworthyName")]
[DisplayDescriptionKeyAttribute("Database_TrustworthyDesc")]
bool Trustworthy { get; set; }
[DisplayNameKeyAttribute(L"Database_TrustworthyName")]
[DisplayDescriptionKeyAttribute(L"Database_TrustworthyDesc")]
property bool Trustworthy {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Database_TrustworthyName")>]
[<DisplayDescriptionKeyAttribute("Database_TrustworthyDesc")>]
abstract Trustworthy : bool with get, set
function get Trustworthy () : boolean 
function set Trustworthy (value : boolean)

속성 값

유형: System.Boolean
A Boolean value specifying the Trustworthy property.

주의

By default, this setting is OFF

참고 항목

참조

IDatabaseOptions 인터페이스

Microsoft.SqlServer.Management.Smo 네임스페이스