Partager via


IEndpointSwitch.CanSwitch(Uri) Method

Definition

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.

Applies to

See also