PasswordHashAlgorithm Enum

Definition

Enumerates the hash algorithms that are used to authenticate SQL Login passwords.

C#
public enum PasswordHashAlgorithm
Inheritance
PasswordHashAlgorithm

Fields

Name Value Description
None 0

No special algorithm used.

SqlServer7 1

Use the SQL7.0 hash algorithm.

ShaOne 2

Use the SHA-1 hash algorithm.

ShaTwo 3

Use the SHA-2 hash algorithm.

Applies to

Producto Versiones
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0