Edit

Share via


UserEndpointPresenceServices.GetPresenceRelationshipLevel Method

Definition

Retrieves the highest container membership match for a UC entity.

public:
 Microsoft::Rtc::Collaboration::Presence::PresenceRelationshipLevel GetPresenceRelationshipLevel(Microsoft::Rtc::Signaling::RealTimeAddress ^ uri, Microsoft::Rtc::Collaboration::SourceNetwork sourceNetwork);
public Microsoft.Rtc.Collaboration.Presence.PresenceRelationshipLevel GetPresenceRelationshipLevel (Microsoft.Rtc.Signaling.RealTimeAddress uri, Microsoft.Rtc.Collaboration.SourceNetwork sourceNetwork);
member this.GetPresenceRelationshipLevel : Microsoft.Rtc.Signaling.RealTimeAddress * Microsoft.Rtc.Collaboration.SourceNetwork -> Microsoft.Rtc.Collaboration.Presence.PresenceRelationshipLevel

Parameters

uri
RealTimeAddress

URI of the UC entity.

sourceNetwork
SourceNetwork

Network type that this entity belongs to.

Returns

The highest container that this entity belongs to.

Exceptions

Thrown when uri is null.

Remarks

Matching will be performed in the following order:

1) Exact URI match

2) Best domain match

3) Source network type match

Applies to