RemoteServiceConnectionInfo.IsOneOf(RemoteServiceConnections) Method

Definition

Checks whether this instance contains instructions for any of a set of connection types.

public:
 bool IsOneOf(Microsoft::ServiceHub::Framework::RemoteServiceConnections connections);
public bool IsOneOf (Microsoft.ServiceHub.Framework.RemoteServiceConnections connections);
member this.IsOneOf : Microsoft.ServiceHub.Framework.RemoteServiceConnections -> bool
Public Function IsOneOf (connections As RemoteServiceConnections) As Boolean

Parameters

connections
RemoteServiceConnections

The set of connection types to test for.

Returns

true if any of the connections specified coincide with instructions available in this value; false otherwise. false is returned if connections is set to None.

Applies to