Click to open or copy the files for the EnumObj sample.
Click to open or copy the Common files (required).
Enumobj.exe is a console application that enumerates the high-level objects within an SMS site server database. This sample demonstrates the use of the enumeration functions SmsEnumObjects and SmsEnumObjectTypes.
For more information, see Enumobj.exe in the Microsoft SMS API.
This sample uses the following keywords:
connecttodatasource; displaysmserror; enumobj; gets; inputstring; printf; smsapiver; smsdatasourceconnect; smsdatasourcedisconnect; smsenumobjects; smsenumobjecttypes; strcat; strcpy