Freigeben über


ManagementPackDependencyMonitor.RelationshipType Property

Gets or sets the relationship type that health information is reported for. The source in the relationship type must be the same class that the dependency monitor targets or is derived from. The relationship type must be either a hosting or containment type.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPackDependencyMonitor
Dim value As ManagementPackElementReference(Of ManagementPackRelationship)

value = instance.RelationshipType

instance.RelationshipType = value

Syntax

'Declaration
Public Property RelationshipType As ManagementPackElementReference(Of ManagementPackRelationship)
public ManagementPackElementReference<ManagementPackRelationship> RelationshipType { get; set; }
public:
property ManagementPackElementReference<ManagementPackRelationship^>^ RelationshipType {
    ManagementPackElementReference<ManagementPackRelationship^>^ get ();
    void set (ManagementPackElementReference<ManagementPackRelationship^>^ value);
}
/** @property */
public ManagementPackElementReference<ManagementPackRelationship> get_RelationshipType ()

/** @property */
public void set_RelationshipType (ManagementPackElementReference<ManagementPackRelationship> value)
public function get RelationshipType () : ManagementPackElementReference<ManagementPackRelationship>

public function set RelationshipType (value : ManagementPackElementReference<ManagementPackRelationship>)

Property Value

A ManagementPackElementReference to a ManagementPackRelationship 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

ManagementPackDependencyMonitor Class
ManagementPackDependencyMonitor Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.