共用方式為


ConnectionManagerBase.Context Property

Gets or sets the connection manager context.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As ConnectionManagerBase
Dim value As Dictionary(Of String, Object)

value = instance.Context

instance.Context = value

Syntax

'Declaration
Public Property Context As Dictionary(Of String, Object)
public Dictionary<string,Object> Context { get; set; }
public:
property Dictionary<String^, Object^>^ Context {
    Dictionary<String^, Object^>^ get ();
    void set (Dictionary<String^, Object^>^ value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public Dictionary<String,Object> get_Context ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public void set_Context (Dictionary<String,Object> value)
DebuggerStepThroughAttribute 
public function get Context () : Dictionary<String,Object>

DebuggerStepThroughAttribute 
public function set Context (value : Dictionary<String,Object>)

Property Value

System.Collections.Generic.Dictionary object that represents the context information.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ConnectionManagerBase Class
ConnectionManagerBase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace