Compartilhar via


Load method of the MSFT_Providers class

The Load method loads a specific instance of a provider.

This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.

Syntax

Uint32 Load(
  [in] string Namespace,
  [in] string User,
  [in] string Locale,
  [in] string Provider,
  [in] string TransactionIdentifier
);

Parameters

Namespace [in]

Provider namespace.

User [in]

Reserved for future use.

Locale [in]

Reserved for future use.

Provider [in]

Provider name.

TransactionIdentifier [in]

Reserved for future use.

Return value

Returns an integer value of 0 if the provider was successfully loaded, 1 if the request is not supported, and any other number to indicate an error.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMv2
MOF
System.mof
DLL
WmiPrvSD.dll

See also

MSFT_Providers