IADsADSystemInfo interface (iads.h)

   日期:2024-12-26    作者:hubinusb 浏览:55    移动:http://w.yusign.com/mobile/quote/6297.html

The IADsADSystemInfo interface retrieves data about the local computer if it is running a Windows operating system in a Windows domain. For example, you can get the domain, site, and distinguished name of the local computer.

The IADsADSystemInfo interface is implemented on the ADSystemInfo object residing in adsldp.dll, which is included with the standard installation of ADSI on Windows 2000. You must explicitly create an instance of the ADSystemInfo object in order to call the methods on the IADsADSystemInfo interface. This requirement amounts to creating an ADSystemInfo instance with the CoCreateInstance function in C/C++.


You can also use the New operator in Visual Basic.


Or you can call the CreateObject function in a scripting environment, supplying "ADSystemInfo" as the ProgID.



The IADsADSystemInfo interface inherits from the IDispatch interface. IADsADSystemInfo also has these types of members:

The IADsADSystemInfo interface has these methods.

  IADsADSystemInfo::GetAnyDCName

Retrieves the DNS name of a domain controller in the local computer's domain. IADsADSystemInfo::GetDCSiteName

Retrieves the name of the Active Directory site that contains the local computer. IADsADSystemInfo::GetTrees

Retrieves the DNS names of all the directory trees in the local computer's forest. IADsADSystemInfo::RefreshSchemaCache

The IADsADSystemInfo::RefreshSchemaCache method refreshes the Active Directory schema cache.
Requirement Value Minimum supported client Windows Vista Minimum supported server Windows Server 2008 Target Platform Windows Header iads.h

CoCreateInstance

IADsADSystemInfo Property Methods

本文地址:http://w.yusign.com/quote/6297.html    述古往 http://w.yusign.com/static/ , 查看更多

特别提示:本信息由相关用户自行提供,真实性未证实,仅供参考。请谨慎采用,风险自负。


举报收藏 0评论 0
0相关评论
相关行情
推荐行情
点击排行
{
网站首页  |  关于我们  |  联系方式  |  用户协议  |  隐私政策  |  版权声明  |  网站地图  |  排名推广  |  广告服务  |  积分换礼  |  网站留言  |  RSS订阅  |  违规举报  |  鄂ICP备2020018471号