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.
Retrieves the DNS name of a domain controller in the local computer's domain.
Retrieves the name of the Active Directory site that contains the local computer.
Retrieves the DNS names of all the directory trees in the local computer's forest.
The IADsADSystemInfo::RefreshSchemaCache method refreshes the Active Directory schema cache.
CoCreateInstance
IADsADSystemInfo Property Methods
以上就是本篇文章【IADsADSystemInfo interface (iads.h)】的全部内容了,欢迎阅览 ! 文章地址:http://w.yusign.com/quote/6297.html 行业 资讯 企业新闻 行情 企业黄页 同类资讯 网站地图 返回首页 述古往 http://w.yusign.com/mobile/ , 查看更多