通过


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

ServerConnectionType Class

public final class ServerConnectionType
extends ExpandableStringEnum<ServerConnectionType>

The server connection type.

Field Summary

Modifier and Type Field and Description
static final ServerConnectionType DEFAULT

Static value Default for ServerConnectionType.

static final ServerConnectionType PROXY

Static value Proxy for ServerConnectionType.

static final ServerConnectionType REDIRECT

Static value Redirect for ServerConnectionType.

Constructor Summary

Constructor Description
ServerConnectionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServerConnectionType value.

Method Summary

Modifier and Type Method and Description
static ServerConnectionType fromString(String name)

Creates or finds a ServerConnectionType from its string representation.

static Collection<ServerConnectionType> values()

Gets known ServerConnectionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEFAULT

public static final ServerConnectionType DEFAULT

Static value Default for ServerConnectionType.

PROXY

public static final ServerConnectionType PROXY

Static value Proxy for ServerConnectionType.

REDIRECT

public static final ServerConnectionType REDIRECT

Static value Redirect for ServerConnectionType.

Constructor Details

ServerConnectionType

@Deprecated
public ServerConnectionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServerConnectionType value.

Method Details

fromString

public static ServerConnectionType fromString(String name)

Creates or finds a ServerConnectionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServerConnectionType.

values

public static Collection<ServerConnectionType> values()

Gets known ServerConnectionType values.

Returns:

known ServerConnectionType values.

Applies to