IEntityTypeManagement.GetRelationshipClasses Method (Generic ICollection)
Gets all relationships that are defined in this management group based on the collection of identifiers.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim instance As IEntityTypeManagement
Dim ids As ICollection(Of Guid)
Dim returnValue As IList(Of ManagementPackRelationship)
returnValue = instance.GetRelationshipClasses(ids)
Syntax
'Declaration
Function GetRelationshipClasses ( _
ids As ICollection(Of Guid) _
) As IList(Of ManagementPackRelationship)
IList<ManagementPackRelationship> GetRelationshipClasses (
ICollection<Guid> ids
)
IList<ManagementPackRelationship^>^ GetRelationshipClasses (
ICollection<Guid>^ ids
)
IList<ManagementPackRelationship> GetRelationshipClasses (
ICollection<Guid> ids
)
function GetRelationshipClasses (
ids : ICollection<Guid>
) : IList<ManagementPackRelationship>
Parameters
- ids
The collection of relationship identifiers.
Return Value
The list of relationships.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The ids parameter is a null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | The ids parameter collection does not contain any items. |
Thread Safety
This method is thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
IEntityTypeManagement Interface
IEntityTypeManagement Members
Microsoft.EnterpriseManagement Namespace