手机
当前位置:查字典教程网 >编程开发 >Javascript教程 >Display SQL Server Login Mode
Display SQL Server Login Mode
摘要:DisplaySQLServerLoginMode.SupportedPlatformsSQLServer2000YesScriptCode...

DisplaySQLServerLoginMode.

SupportedPlatforms

SQLServer2000

Yes

ScriptCode

SQLDMOSecurity_Integrated=1

SQLDMOSecurity_Mixed=2

SQLDMOSecurity_Normal=0

SQLDMOSecurity_Unknown=9

strDBServerName="."

SetobjSQLServer=CreateObject("SQLDMO.SQLServer")

SelectCaseobjSQLServer.ServerLoginMode(strDBServerName)

CaseSQLDMOSecurity_Integrated

WScript.Echo"LoginMode:AllowWindowsAuthenticationonly."

CaseSQLDMOSecurity_Mixed

WScript.Echo"LoginMode:AllowWindowsAuthenticationorSQLServerAuthentication."

CaseSQLDMOSecurity_Normal

WScript.Echo"LoginMode:AllowSQLServerAuthenticationonly."

CaseSQLDMOSecurity_Unknown

WScript.Echo"LoginMode:Securitytypeunknown."

EndSelect

【Display SQL Server Login Mode】相关文章:

jQuery插件expander实现图片翻转特效

js实现从右向左缓缓浮出网页浮动层广告的方法

JavaScript正则表达式中的ignoreCase属性使用详解

Bootstrap基础学习

Javascipt中处理字符串之big()方法的使用

设为首页 加入收藏的js代码

jQuery解析XML文件同时动态增加js文件的方法

JavaScript中的substr()方法使用详解

获得当前页面URL地址的三个JS代码

游戏人文件夹程序 ver 4.03

精品推荐
分类导航