How to Use Configuration Manager Objects with Managed Code

System Center

Updated: October 28, 2009

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

This section provides code examples for using the managed SMS Provider library with Configuration Manager objects. The examples generally use packages for illustration, but they can be easily adapted to use other Configuration Manager objects.

For information about securing Configuration Manager 2007 objects, see Securing Configuration Manager Applications. For information about error handling, see Configuration Manager Errors.

In This Section

How to Create a Configuration Manager Object by Using Managed Code
Shows how to create a Configuration Manager object by using the managed SMS Provider.

How to Read a Configuration Manager Object by Using Managed Code
Shows how to read a Configuration Manager object by using the managed SMS Provider.

How to Modify a Configuration Manager Object by Using Managed Code
Shows how to modify a Configuration Manager object by using the managed SMS Provider.

How to Delete a Configuration Manager Object by Using Managed Code
Shows how to delete a Configuration Manager object by using the managed SMS Provider.

How to Perform an Asynchronous Configuration Manager Query by Using Managed Code
Shows how to perform an asynchronous query for Configuration Manager objects by using the managed SMS Provider.

How to Perform a Synchronous Configuration Manager Query by Using Managed Code
Shows how to perform a synchronous query for Configuration Manager objects by using the managed SMS Provider.

How to Read Lazy Properties by Using Managed Code
Shows how to read lazy properties by using the managed SMS Provider.

How to Call a Configuration Manager Object Class Method by Using Managed Code
Shows how to call a Configuration Manager object class method by using the managed SMS Provider.

Related Sections

See Also

Show: