ManagementPackOverride.Context Property
Gets or sets the class that is the context for the override.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
'Usage
Dim instance As ManagementPackOverride
Dim value As ManagementPackElementReference(Of ManagementPackClass)
value = instance.Context
instance.Context = value
Syntax
'Declaration
Public Property Context As ManagementPackElementReference(Of ManagementPackClass)
public ManagementPackElementReference<ManagementPackClass> Context { get; set; }
public:
property ManagementPackElementReference<ManagementPackClass^>^ Context {
ManagementPackElementReference<ManagementPackClass^>^ get ();
void set (ManagementPackElementReference<ManagementPackClass^>^ value);
}
/** @property */
public ManagementPackElementReference<ManagementPackClass> get_Context ()
/** @property */
public void set_Context (ManagementPackElementReference<ManagementPackClass> value)
public function get Context () : ManagementPackElementReference<ManagementPackClass>
public function set Context (value : ManagementPackElementReference<ManagementPackClass>)
Property Value
A ManagementPackElementReference reference to a ManagementPackClass object.
Example
The following code example shows how to get the MonitoringClass object that is the context for the override.
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 2008, Windows Vista, Windows Server 2003, and Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP
See Also
Reference
ManagementPackOverride Class
ManagementPackOverride Members
Microsoft.EnterpriseManagement.Configuration Namespace