Share via


Provisioning Schema::providerContext

Element that encapsulates provider-specific data (for example, connection data for remote procedure calls). Provider context is defined in the namespace. At run time, this data is populated to the context node of all procedures defined in the corresponding namespace. This element is part of the provisioning schema of Microsoft Provisioning Framework (MPF).

Arguments

The attributes required for this element vary by provider.

Remarks

No remarks.

Sample Code

Example XML Request

When the New Request procedure is called, MPF passes the providerContext as a child of the context node, as shown in the executeXml node that follows.

<namespace name="New Namespace" providerSource="NewProg.NewProgId.1" > 
    <providerContext protocol="https" server="172.31.104.223"  /> 
    <procedure name="New Request" type="write" access="public" /> 
    . 
    . 
    . 
</namespace>  
 
  
 
<executeXml> 
    . 
    . 
    . 
  <context> 
    <providerContext protocol="https" server="172.31.104.223"  />     
    <executeContext name="New Namespace" providerSource="NewProg.NewProgId.1" procedure="New Request"/> 
    . 
    . 
    .    
  </context> 
</executeXml>

Applies To

Provisioning Schema; Provisioning Schema::context; Provisioning Schema::namespace

See also

Other Resources

Customization [HMC SDK]