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.
實作
備註
Be default, this setting is OFF.