Свойство Trustworthy
Gets or sets a Boolean value that specifies if the database is trusted by the instance of SQL Server.
Пространство имен: 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 IDatabaseSecurityFacet
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
If True the database is trustworthy.
If False the database is not trustworthy.
См. также