Share via


SMS_ProviderLocation

The SMS_ProviderLocation WMI class identifies the location of the SMS Provider for an SMS Site.

The following syntax is simplified from 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-only

    Name of the computer on which the provider resides.

  • NamespacePath
    Data type: string
    Access type: Read-only

    Full WMI path to provider namespace.

  • ProviderForLocalSite
    Data type: boolean
    Access type: Read-only

    Indicates which namespace is the local site server for the client. Only one instance is set to TRUE.

  • SiteCode
    Data type: string
    Access type: Read-only
    Qualifiers: Key

    Site code of the site which the provider supports.

Remarks

For more information about how to use this class to properly locate the SMS Provider, see Connecting to the SMS Namespace.

See Also

Connecting to the SMS Namespace, Supporting Classes