COM+运行帐户所属的注册表下有APServer的注册信息
如下
Windows Registry Editor Version 5.00
[HKEY_USERS\S-1-5-21-861567501-1592454029-682003330-500\Software\VB and VBA Program Settings]
[HKEY_USERS\S-1-5-21-861567501-1592454029-682003330-500\Software\VB and VBA Program Settings\DBLinkSetting]
[HKEY_USERS\S-1-5-21-861567501-1592454029-682003330-500\Software\VB and VBA Program Settings\DBLinkSetting\Server0]
"ServerName"="test-hrmsdb"
"UserID"="*wytwrythet5reh"
"Password"="*hwertet653uy6hyt"
"DBType"="1"
[HKEY_USERS\S-1-5-21-861567501-1592454029-682003330-500\Software\VB and VBA Program Settings\DBLinkSetting\Server1]
"ServerName"="todd-zhuang"
"UserID"="gfsdghethethhy"
"Password"="shrthtetrefghf"
"DBType"="1"
[HKEY_USERS\S-1-5-21-861567501-1592454029-682003330-500\Software\VB and VBA Program Settings\DBLinkSetting\ServerCount]
"ServerCount"="2"
其中S-1-5-21-861567501-1592454029-682003330-500为COM+运行帐户的AccountSID