Microsoft Configuration Manager
Windows

How to Connect to an SMS Provider in Configuration Manager by Using Managed Code

In brief

The article’s `ms.service` metadata changed from `microsoft-endpoint-configuration-manager` to `configuration-manager`.

What Intune admins need to know

This improves the article’s classification and discoverability; no administrator action is required.

This summary was assembled from the tracked documentation change. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

How to Connect to an SMS Provider in Configuration Manager by Using Managed Code

To connect to an SMS Provider, use WqlConnectionManager.Connect. After it's connected, WqlConnectionManager.Connect has methods to query, create, delete, and otherwise use Configuration Manager Windows Management Instrumentation (WMI) objects.

Daily Intune.Admin.News

Get daily email updates

Get a concise summary of the latest Microsoft Intune updates delivered straight to your inbox.

Loading the secure signup form…