Gets or sets the identifier of a diagnostic object targeted at the same class and the same monitor as the recovery object. If specified, the recovery will only execute when the diagnostic has executed and returned data. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)


Visual Basic
Dim instance As ManagementPackRecovery
Dim value As ManagementPackElementReference(Of ManagementPackDiagnostic)

value = instance.ExecuteOnDiagnostic

instance.ExecuteOnDiagnostic = value


Visual Basic
Public Property ExecuteOnDiagnostic As ManagementPackElementReference(Of ManagementPackDiagnostic)
public ManagementPackElementReference<ManagementPackDiagnostic> ExecuteOnDiagnostic { get; set; }
property ManagementPackElementReference<ManagementPackDiagnostic^>^ ExecuteOnDiagnostic {
		ManagementPackElementReference<ManagementPackDiagnostic^>^ get ();
		void set (ManagementPackElementReference<ManagementPackDiagnostic^>^ value);
/** @property */
public ManagementPackElementReference<ManagementPackDiagnostic> get_ExecuteOnDiagnostic ()

/** @property */
public void set_ExecuteOnDiagnostic (ManagementPackElementReference<ManagementPackDiagnostic> value)
public function get ExecuteOnDiagnostic () : ManagementPackElementReference<ManagementPackDiagnostic>

public function set ExecuteOnDiagnostic (value : ManagementPackElementReference<ManagementPackDiagnostic>)

Property Value

A ManagementPackElementReference reference to a ManagementPackDiagnostic object.

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.


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