Freigeben über


ManagementPackRecovery.ExecuteOnDiagnostic Property

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)

Usage

'Usage
Dim instance As ManagementPackRecovery
Dim value As ManagementPackElementReference(Of ManagementPackDiagnostic)

value = instance.ExecuteOnDiagnostic

instance.ExecuteOnDiagnostic = value

Syntax

'Declaration
Public Property ExecuteOnDiagnostic As ManagementPackElementReference(Of ManagementPackDiagnostic)
public ManagementPackElementReference<ManagementPackDiagnostic> ExecuteOnDiagnostic { get; set; }
public:
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.

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

ManagementPackRecovery Class
ManagementPackRecovery Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.