Partilhar via


SMS_ProviderLocation Class

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

The SMS_ProviderLocation Windows Management Instrumentation (WMI) class, in Configuration Manager, identifies the location of the SMS Provider for a site.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_ProviderLocation 
{
     String Machine;
     String NamespacePath;
     Boolean ProviderForLocalSite;
     String SiteCode;
};

Properties

  • Machine
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Name of the computer on which the SMS Provider resides.

  • NamespacePath
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Full WMI path to the SMS Provider namespace.

  • ProviderForLocalSite
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    true if the SMS Provider is set as the local site server for the client.

  • SiteCode
    Data type: String

    Access type: Read/Write

    Qualifiers: [key]

    Site code of the site.

Remarks

There are no special class qualifiers for this class. For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

For information on using this class, see How to Connect to an SMS Provider in Configuration Manager by Using WMI.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Concepts

Configuration Manager Supporting Classes
How to Connect to an SMS Provider in Configuration Manager by Using WMI