SqlServerAuthenticationType Class

public final class SqlServerAuthenticationType
extends ExpandableStringEnum<SqlServerAuthenticationType>

The type used for authentication. Type: string.

Field Summary

Modifier and Type Field and Description
static final SqlServerAuthenticationType SQL

Static value SQL for SqlServerAuthenticationType.

static final SqlServerAuthenticationType USER_ASSIGNED_MANAGED_IDENTITY

Static value UserAssignedManagedIdentity for SqlServerAuthenticationType.

static final SqlServerAuthenticationType WINDOWS

Static value Windows for SqlServerAuthenticationType.

Constructor Summary

Constructor Description
SqlServerAuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SqlServerAuthenticationType value.

Method Summary

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

Creates or finds a SqlServerAuthenticationType from its string representation.

static Collection<SqlServerAuthenticationType> values()

Gets known SqlServerAuthenticationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

SQL

public static final SqlServerAuthenticationType SQL

Static value SQL for SqlServerAuthenticationType.

USER_ASSIGNED_MANAGED_IDENTITY

public static final SqlServerAuthenticationType USER_ASSIGNED_MANAGED_IDENTITY

Static value UserAssignedManagedIdentity for SqlServerAuthenticationType.

WINDOWS

public static final SqlServerAuthenticationType WINDOWS

Static value Windows for SqlServerAuthenticationType.

Constructor Details

SqlServerAuthenticationType

@Deprecated
public SqlServerAuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SqlServerAuthenticationType value.

Method Details

fromString

public static SqlServerAuthenticationType fromString(String name)

Creates or finds a SqlServerAuthenticationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SqlServerAuthenticationType.

values

public static Collection<SqlServerAuthenticationType> values()

Gets known SqlServerAuthenticationType values.

Returns:

known SqlServerAuthenticationType values.

Applies to