Table of Contents

Class DatabasesAndFilesSchema.DatabaseScopedConfiguration

Namespace
LinqToDB.Tools.DataProvider.SqlServer.Schemas
Assembly
linq2db.Tools.dll

sys.database_scoped_configurations (Transact-SQL)

APPLIES TO: (Yes) SQL Server 2016 and later (Yes) Azure SQL Database (Yes) Azure Synapse Analytics (No) Parallel Data Warehouse

Contains one row per configuration.


See sys.database_scoped_configurations.

[Table(Schema = "sys", Name = "database_scoped_configurations", IsView = true)]
public class DatabasesAndFilesSchema.DatabaseScopedConfiguration
Inheritance
DatabasesAndFilesSchema.DatabaseScopedConfiguration
Extension Methods

Properties

ConfigurationID

ID of the configuration option.

[Column("configuration_id")]
[Nullable]
public int? ConfigurationID { get; set; }

Property Value

int?

IsValueDefault

Specifies whether the value set is the default value. Added in SQL Server 2017.

[Column("is_value_default")]
[Nullable]
public bool? IsValueDefault { get; set; }

Property Value

bool?

Name

The name of the configuration option. For information about the possible configurations, see ALTER DATABASE SCOPED CONFIGURATION (Transact-SQL).

[Column("name")]
[Nullable]
public string? Name { get; set; }

Property Value

string

Value

The value set for this configuration option for the primary replica.

[Column("value")]
[Nullable]
public object? Value { get; set; }

Property Value

object

ValueForSecondary

The value set for this configuration option for the secondary replicas.

[Column("value_for_secondary")]
[Nullable]
public object? ValueForSecondary { get; set; }

Property Value

object