RemoteServiceConnectionInfo.IsOneOf(RemoteServiceConnections) 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.
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.