共用方式為


Configuration Manager Server Development Requirements

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

In Microsoft System Center Configuration Manager 2007, the SMS Provider and associated technologies can be programmed by using the following programming languages.

Managed Code

The Configuration Manager SDK provides .NET Framework libraries for accessing the SMS Provider and also for extending the Configuration Manager console. For more information, see Managed SMS Provider Fundamentals in Configuration Manager.

Note

   You can also use the System.Management namespace for accessing the SMS Provider, but this approach is not documented in the Configuration Manager SDK.

Programming the SMS Provider with managed code has the following requirements:

  • Windows Server 2003 SP1 for site server installation

  • Installed Configuration Manager site server

  • Microsoft.ConfigurationManagement.ManagementProvider .NET Framework assembly.

  • Microsoft Visual Studio 2005

  • Microsoft .NET Framework version 2.0

For more information, see SMS Provider in Configuration Manager

NET Framework

You should have version 2.0 of the .NET Framework installed on the development computer and on the computers you want to deploy your .NET Framework application to. The .NET Framework redistributable is available from https://go.microsoft.com/fwlink/?LinkId=110987. It is also installed as part of Visual Studio 2005.

Configuration Manager Console User Interface Extension

Programming Configuration Manager 2007 console extensions has the following requirements:

  • Installed Configuration Manager site server

  • Installed Configuration Manager console

  • Microsoft Visual Studio 2005

  • Microsoft.ConfigurationManagement.ManagementProvider .NET Framework assembly.

  • Microsoft Management Console 3.0

  • Microsoft .NET Framework version 2.0

For more information, see Configuration Manager Console Extension

For specific information about deploying Configuration Manager 2007 console extensions, see Configuration Manager Console Extension Deployment

VBScript

You can use Windows Management Instrumentation (WMI) to access the SMS Provider.

The scripting samples are provided in VBScript and use WMI to access Configuration Manager. For more information, see How to Use Configuration Manager Objects with WMI.

Programming the SMS Provider with VBScript has the following requirements:

  • Windows Server 2003 SP1

  • Installed Configuration Manager site server

  • Windows Script Host

For more information about scripting with WMI, see https://go.microsoft.com/fwlink/?LinkId=43950.

C++

C++ examples are provided for some Configuration Manager technologies where C++ is the most appropriate development language. In most cases, C++ developers should use the VBScript samples as a guide. For more information about using C++ with WMI, see https://go.microsoft.com/fwlink/?LinkId=111065.

Other Languages

For languages that are not based on .NET Framework, use the VBScript samples as a starting point for accessing Configuration Manager through WMI.

See Also

Concepts

Configuration Manager Client Development Requirements
Configuration Manager SDK Libraries and Header Files