The System Center 2012 Configuration Manager ships with the following sample projects. Each sample has a readme file that explains how the sample works.
Important |
---|
The complete System Center 2012 Configuration Manager SDK (documentation, samples, and supporting libraries) is available for download from the Microsoft Download Center.Always use the MSDN library for the most up-to-date documentation. |
Configuration Manager Administrator Console
The following sample is in the %Program Files%\Microsoft System Center 2012 Configuration Manager SDK\Samples\Admin UI folder.
Sample | Description |
---|---|
Custom Task Sequence Action |
Visual C# Project that shows how to define and edit a custom task sequence action. |
Dialog Prototype |
Contains the sample code for creating a new dialog using the Configuration Manager Console Extensions and the Managed Provider interfaces. |
Extensions |
Contains the sample extension XML files for adding actions, dialogs, property pages, nodes. |
Configuration Manager Application Management
The following samples are in the %Program Files%\Microsoft System Center 2012 Configuration Manager SDK\Samples\AppManagement folder.
Sample | Description |
---|---|
AppSupersedence |
Demonstrates how to create an application-supersedence relationship between two versions of an application. In this sample, Adobe Reader 9 and Adobe Reader X are used as examples. It is assumed that both the Adobe Reader 9 and Adobe Reader X application models have been imported from the Application Model Kit. |
DTRequirements |
Demonstrates how to create deployment type requirements and add them to a deployment type. |
Configuration Manager Application Management Extension
The following sample is in the %Program Files%\Microsoft System Center 2012 Configuration Manager SDK\Samples\Rdp Deployment Technology\Code Sample folder.
Sample | Description | ||||||
---|---|---|---|---|---|---|---|
AppMan Extension |
Provides several projects that implement the major elements of a custom deployment type for Remote Desktop Protocol (*.rdp) files. This sample is referred to throughout the Scenario: Extending Application Management section of the System Center 2012 Configuration Manager SDK. The Code Sample\AppMan directory contains the following sample code:
|
Configuration Manager Application Model
The following sample is in the %Program Files%\Microsoft System Center 2012 Configuration Manager SDK\Samples\Application Model folder.
Sample | Description |
---|---|
Application Model Kit |
A set of exported applications (.ZIP file) that demonstrate the use of various features of the application model based applications. The corresponding .DOCX file contains an explanation of each application modeled in the kit. |
Configuration Manager Client Messaging SDK
The following sample is in the %Program Files%\Microsoft System Center 2012 Configuration Manager SDK\Samples\Client Messaging SDK folder.
Sample | Description | ||||||
---|---|---|---|---|---|---|---|
Configuration Manager Client Messaging SDK |
The Configuration Manager Client Messaging SDK is an object model and transport for communicating with Configuration Manager site server roles such as the management point for client operations such as registering clients, retrieving policy assignments and bodies, sending inventory, and state/status messages. The Configuration Manager Client Messaging SDK contains the following:
|
Configuration Manager Compliance Settings (Desired Configuration Management)
The following samples are in the %Program Files%\Microsoft System Center 2012 Configuration Manager SDK\Samples\DesiredConfigurationManagement folder.
Important |
---|
These samples require the .NET Framework 3.5. |
Sample | Description |
---|---|
DcmAssignBaseline |
Demonstrates how to assign a configuration baseline to a collection by using an assignment object. |
DcmImport |
Demonstrates how to create an SMS_ConfigurationItem Server WMI Class from an existing XML definition of a configuration item. |
Schema |
The XML digest schema file and digest authoring document for Compliance Settings. |
Configuration Manager Header Files
The following header files are in the %Program Files%\Microsoft System Center 2012 Configuration Manager SDK\Samples\Includes folder.
Header File | Description |
---|---|
smscstat.h ssperrcode.h |
Contains header information for creating status messages. Contains error codes and macros that are used to evaluate an error condition that is returned from the SMS Provider. |
Configuration Manager Management Point Interface
The following files are in the %Program Files%\Microsoft System Center 2012 Configuration Manager SDK\Samples\Management Point API folder.
Files | Description |
---|---|
smsmsgapi.h smsmsgapi_i.c |
C++ Source files necessary for compiling the management point API into custom applications. |
Important |
---|
The Management Point Interface information for Configuration Manager 2007 can also be used for System Center 2012 Configuration Manager. However, the Configuration Manager Client Messaging SDK (included with the System Center 2012 Configuration Manager SDK download), may be a better option for most users. For information about the Configuration Manager 2007 Management Point Interface, see Configuration Manager Management Point Interface. For information about the Configuration Manager 2007 endpoint messages in XML format, see About Configuration Manager Management Point Interface Messages. |
Configuration Manager Operating System Deployment
The following samples are in the %Program Files%\Microsoft System Center Configuration Manager 2012 SDK\Samples\OperatingSystemDeployment folder.
Sample | Description |
---|---|
CustomTaskSequenceAction |
Shows how to specify a sample custom task sequence action. Adding a custom action requires a MOF file that defines the action WMI object and properties, and an associated set of controls used for the action's property and option pages in the Task Sequence Editor. |
TSEditor |
Demonstrates how to work with the task sequencing objects in Configuration Manager. |
UnknownSystem |
Demonstrates how to create a boot media that can create a computer record for a system unknown to Configuration Manager, add it to a collection, and set machine and Task Sequence variables. |
Configuration Manager Software Updates
The following samples are in the %Program Files%\Microsoft System 2012 Center Configuration Manager SDK\Samples\Software Updates Management folder.
Sample | Description |
---|---|
Gadget |
Sidebar gadget that tracks the compliance status of all deployed software updates on a specified site. |