共用方式為


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 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property Trustworthy As Boolean
    Get
    Set
'用途
Dim instance As DatabaseOptions
Dim value As Boolean

value = instance.Trustworthy

instance.Trustworthy = value
[SfcPropertyAttribute]
public bool Trustworthy { get; set; }
[SfcPropertyAttribute]
public:
property bool Trustworthy {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member 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