UnregisterCloudConfigNotification
This method unregisters an OracleConnection from receiving cloud provider change notifications.
Declaration
// C# public static void UnregisterCloudConfigNotification(OracleConnection con);
Remarks
This method unregisters connections that use connection URLs from receiving cloud provider change notifications. From a pooled connection, this method unregisters all connections within that pool. This method can be called from open or closed connections.
Exceptions
None.
Code Sample
// ODP.NET for Azure App Configuration code sample
string connStr = "config-azure://myAppConfig?key=test/&SERVICE_BUS_HOST={serviceBusHost}&SERVICE_BUS_QUEUE={queueName}";
OracleConnection conn = new OracleConnection(connStr);
// Connection is opened and registered for change notifications
conn.Open();
// Unregister from change notifications
OracleConnection.UnregisterCloudConfigNotifications(conn);