Del via


DeviceIdManager.PersistIfDeviceAlreadyExists Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Indicates that the credentials should be persisted to the disk if registration fails with DeviceAlreadyExists.

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public static bool PersistIfDeviceAlreadyExists { get; set; }
Public Shared Property PersistIfDeviceAlreadyExists As Boolean

Property Value

Type: System.Boolean

Remarks

If the device already exists, there is a possibility that the credentials are the same as the current credentials that are being registered. This is especially true in automated environments where the same credentials are used continually (to avoid registering spurious device credentials.

See Also

DeviceIdManager Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright