Deli z drugimi prek


IEndpointSwitch.CanSwitch Method (Uri)

 

Applies To: Dynamics CRM 2015

Checks if the specified endpoint URI is different from the organization’s alternate endpoint URI.

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

bool CanSwitch(
    Uri currentUri
)
bool CanSwitch(
    Uri^ currentUri
)
abstract CanSwitch : 
        currentUri:Uri -> bool
Function CanSwitch (
    currentUri As Uri
) As Boolean

Parameters

  • currentUri
    Type: System.Uri

    Type: URI. Specifies an endpoint URI.

Return Value

Type: System.Boolean

Type: Boolean
true if the two URIs are different and an endpoint switch can be attempted, otherwise false.

See Also

AlternateEndpoint
AlternateEndpoint
IEndpointSwitch Interface
Microsoft.Xrm.Sdk.Client Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright