DeviceIdManager.PersistIfDeviceAlreadyExists Property

 

Applies To: Dynamics CRM 2015

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:
property bool PersistIfDeviceAlreadyExists {
    static bool get();
    static void set(bool value);
}
static member PersistIfDeviceAlreadyExists : bool with 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

© 2016 Microsoft. All rights reserved. Copyright