次の方法で共有


Trustworthy プロパティ

データベース アダプタのブール型プロパティを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Property Trustworthy As Boolean
    Get
    Set
'使用
Dim instance As DatabaseAdapterBase
Dim value As Boolean

value = instance.Trustworthy

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

プロパティ値

型: System. . :: . .Boolean
Boolean
データベースが信頼可能に設定されている場合は、True を返します。そうでない場合は、False を返します。