Security Constants (SQLDMO_SECURITY_TYPE)

SQL-DMO

SQL-DMO

Security Constants (SQLDMO_SECURITY_TYPE)

Security constants define Microsoft® SQL Server™ authentication modes.

Constant Value Description
SQLDMOSecurity_Integrated 1 Allow Windows NT Authentication only
SQLDMOSecurity_Max 2 SQLDMOSecurity_Mixed
SQLDMOSecurity_Min 0 SQLDMOSecurity_Normal
SQLDMOSecurity_Mixed 2 Allow Windows NT Authentication or SQL Server Authentication
SQLDMOSecurity_Normal 0 Allow SQL Server Authentication only
SQLDMOSecurity_Unknown 9 Security type unknown

See Also

AttachSubscriptionDatabase Method

SecurityMode Property (DistributionDatabase, IntegratedSecurity)

SecurityMode Property (ReplicationSecurity)

ServerLoginMode Method

SubscriberSecurityMode Property