Share via


ManagementPackOverride.ContextInstance Property

Definition

Gets or sets the identifier for the instance of the monitoring class that is the context for the override. The context instance can be a monitoring object or a group. If this property is null, the context for the override is a class rather than a class instance, in which case the context can be found in the Context property.

public:
 property Nullable<Guid> ContextInstance { Nullable<Guid> get(); void set(Nullable<Guid> value); };
public Guid? ContextInstance { get; set; }
member this.ContextInstance : Nullable<Guid> with get, set
Public Property ContextInstance As Nullable(Of Guid)

Property Value

A null or GUID value.

The identifier for the instance of the monitoring class that is the context for the override.

Remarks

Pass the identifier returned from this property into the GetPartialMonitoringObject or GetMonitoringObject method to retrieve the context instance monitoring object.

Applies to