DS_keywords - property in ROOT\directory\LDAP namespace

DS_keywords in other namespaces

List of classes with DS_keywords local property in ROOT\directory\LDAP namespace

propertyClassOrigin
DS_keywordsads_applicationversionads_applicationversion
DS_keywordsads_ftdfsads_ftdfs
DS_keywordsads_msds_app_configurationads_msds_app_configuration
DS_keywordsads_msds_appdataads_msds_appdata
DS_keywordsds_connectionpointds_connectionpoint

List of classes with DS_keywords derived property in ROOT\directory\LDAP namespace

propertyClassOrigin
DS_keywordsads_comconnectionpointds_connectionpoint
DS_keywordsads_indexservercatalogds_connectionpoint
DS_keywordsads_intellimirrorscpds_connectionpoint
DS_keywordsads_ms_sql_olapserverds_connectionpoint
DS_keywordsads_ms_sql_sqlserverds_connectionpoint
DS_keywordsads_printqueueds_connectionpoint
DS_keywordsads_remotestorageservicepointds_connectionpoint
DS_keywordsads_rpcgroupds_connectionpoint
DS_keywordsads_rpcprofileds_connectionpoint
DS_keywordsads_rpcprofileelementds_connectionpoint
DS_keywordsads_rpcserverds_connectionpoint
DS_keywordsads_rpcserverelementds_connectionpoint
DS_keywordsads_rrasadministrationconnectionpointds_connectionpoint
DS_keywordsads_serviceadministrationpointds_connectionpoint
DS_keywordsads_serviceconnectionpointds_connectionpoint
DS_keywordsads_serviceinstanceds_connectionpoint
DS_keywordsads_storageds_connectionpoint
DS_keywordsads_volumeds_connectionpoint
DS_keywordsds_applicationversionads_applicationversion
DS_keywordsds_comconnectionpointds_connectionpoint
DS_keywordsds_ftdfsads_ftdfs
DS_keywordsds_indexservercatalogds_connectionpoint
DS_keywordsds_intellimirrorscpds_connectionpoint
DS_keywordsds_ms_sql_olapserverds_connectionpoint
DS_keywordsds_ms_sql_sqlserverds_connectionpoint
DS_keywordsds_msds_app_configurationads_msds_app_configuration
DS_keywordsds_msds_appdataads_msds_appdata
DS_keywordsds_printqueueds_connectionpoint
DS_keywordsds_remotestorageservicepointds_connectionpoint
DS_keywordsds_rpcentryds_connectionpoint
DS_keywordsds_rpcgroupds_connectionpoint
DS_keywordsds_rpcprofileds_connectionpoint
DS_keywordsds_rpcprofileelementds_connectionpoint
DS_keywordsds_rpcserverds_connectionpoint
DS_keywordsds_rpcserverelementds_connectionpoint
DS_keywordsds_rrasadministrationconnectionpointds_connectionpoint
DS_keywordsds_serviceadministrationpointds_connectionpoint
DS_keywordsds_serviceconnectionpointds_connectionpoint
DS_keywordsds_serviceinstanceds_connectionpoint
DS_keywordsds_storageds_connectionpoint
DS_keywordsds_volumeds_connectionpoint

Code samples for DS_keywords property

Get instance of WMI class using GetObject, DS_keywords property of ds_serviceconnectionpoint

Short VBS code - get a single specified instance of ds_serviceconnectionpoint class or get a default unnamed instance (singleton) of the class, using one single command GetObject with exact path of the wmi object.

'https://wutils.com/wmi/
Dim wmiObject
Set wmiObject = GetObject( _
 "WINMGMTS:\\.\ROOT\directory\LDAP:" + _
 "ds_serviceconnectionpoint.ADSIPath=""LDAP://CN=TermServLicensing,CN=.,OU=Domain Controllers,DC=rootdomain,DC=com""")
Wscript.Echo wmiObject.DS_keywords 'or other property name, see properties
See more VBS samples of ds_serviceconnectionpoint class

WMI query - sample windows WQL with C#, DS_keywords property of ds_serviceconnectionpoint

Get a specified instance of ds_serviceconnectionpoint by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this c# sample code.
See in another language: VBScript, VB.Net.
//https://wutils.com/wmi/

//Project -> Add reference -> System.Management
//using System.Management;

//create a management scope object
ManagementScope scope = new ManagementScope("\\\\.\\ROOT\\directory\\LDAP");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM ds_serviceconnectionpoint Where ADSIPath=\"LDAP://CN=TermServLicensing,CN=W2012SDC,OU=Domain Controllers,DC=rootdomain,DC=com\"");

//create object searcher
ManagementObjectSearcher searcher =
                        new ManagementObjectSearcher(scope, query);

//get a collection of WMI objects
ManagementObjectCollection queryCollection = searcher.Get();

//enumerate the collection.
foreach (ManagementObject m in queryCollection) 
{
  // access properties of the WMI object
  Console.WriteLine("DS_keywords : {0}", m["DS_keywords"]);
  
}

WMI query - sample windows WQL with VB.Net, DS_keywords property of ds_serviceconnectionpoint

Get a specified instance of ds_serviceconnectionpoint by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this VB.Net sample code.
See in another language: VBScript, C#
'Project -> Add reference -> System.Management
'Imports System.Management

'Get the namespace management scope
Dim Scope As New ManagementScope("\\.\ROOT\directory\LDAP")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM ds_serviceconnectionpoint Where ADSIPath="LDAP://CN=TermServLicensing,CN=W2012SDC,OU=Domain Controllers,DC=rootdomain,DC=com"")

'Create object searcher
Dim Searcher As New ManagementObjectSearcher(Scope, Query)

'Get a collection of WMI objects
Dim queryCollection As ManagementObjectCollection = Searcher.Get

'Enumerate wmi object 
For Each mObject As ManagementObject In queryCollection
  'write out some property value
  Console.WriteLine("DS_keywords : {0}", mObject("DS_keywords"))
Next
comments powered by Disqus
WUtils.com