UserEndpointPresenceServices.GetPresenceRelationshipLevel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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