你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConnStringInfo Class

  • java.lang.Object
    • com.microsoft.azure.management.appservice.ConnStringInfo

public class ConnStringInfo

Database connection string information.

Method Summary

Modifier and Type Method and Description
String connectionString()

Get the connectionString value.

String name()

Get the name value.

ConnectionStringType type()

Get the type value.

ConnStringInfo withConnectionString(String connectionString)

Set the connectionString value.

ConnStringInfo withName(String name)

Set the name value.

ConnStringInfo withType(ConnectionStringType type)

Set the type value.

Method Details

connectionString

public String connectionString()

Get the connectionString value.

Returns:

the connectionString value

name

public String name()

Get the name value.

Returns:

the name value

type

public ConnectionStringType type()

Get the type value.

Returns:

the type value

withConnectionString

public ConnStringInfo withConnectionString(String connectionString)

Set the connectionString value.

Parameters:

connectionString - the connectionString value to set

Returns:

the ConnStringInfo object itself.

withName

public ConnStringInfo withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the ConnStringInfo object itself.

withType

public ConnStringInfo withType(ConnectionStringType type)

Set the type value.

Parameters:

type - the type value to set

Returns:

the ConnStringInfo object itself.

Applies to