Database.Trustworthy Property


Gets or sets a value that indicates whether the instance of SQL Server 2005 trusts the database and the contents within it.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design)]
public bool Trustworthy { get; set; }

Property Value

Type: System.Boolean

true if the trustworthy property is enabled; otherwise, false.

By default, this setting is OFF.

Return to top