Skip to content

PgGucStringAttribute

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Declares a nullable string PostgreSQL configuration setting on a static partial getter-only property.

[AttributeUsage(AttributeTargets.Property)]
public sealed class PgGucStringAttribute : PgGucAttribute

Inheritance: object, Attribute, PgGucAttribute

PgGucStringAttribute(string, string?, string)

Section titled “PgGucStringAttribute(string, string?, string)”

Declares a nullable string PostgreSQL configuration setting on a static partial getter-only property.

public PgGucStringAttribute(string name, string? defaultValue, string shortDescription)

Parameters:

name — string

The qualified configuration name, including its extension prefix.

defaultValue — string

The compiled default value.

shortDescription — string

The short description displayed in PostgreSQL configuration metadata.

Gets the compiled default value.

public string? DefaultValue { get; }

Value: string