Compartilhar via


ConnectionString Interface

public interface ConnectionString

An immutable client-side representation of a connection string on a web app.

Method Summary

Modifier and Type Method and Description
abstract String name()

Gets the key of the setting.

abstract boolean sticky()

Check whether the connection string sticks to the slot during a swap.

abstract ConnectionStringType type()

Gets the type of the connection string.

abstract String value()

Gets the value of the connection string.

Method Details

name

public abstract String name()

Gets the key of the setting.

Returns:

the key of the setting

sticky

public abstract boolean sticky()

Check whether the connection string sticks to the slot during a swap.

Returns:

if the connection string sticks to the slot during a swap

type

public abstract ConnectionStringType type()

Gets the type of the connection string.

Returns:

the type of the connection string

value

public abstract String value()

Gets the value of the connection string.

Returns:

the value of the connection string

Applies to