IEndpointSwitch.CanSwitch(Uri) 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 if the specified endpoint URI is different from the organization’s alternate endpoint URI.
public:
bool CanSwitch(Uri ^ currentUri);
public bool CanSwitch (Uri currentUri);
abstract member CanSwitch : Uri -> bool
Public Function CanSwitch (currentUri As Uri) As Boolean
Parameters
- currentUri
- Uri
Specifies an endpoint URI.
Returns
true
if the two URIs are different and an endpoint switch can be attempted, otherwise false
.