Udostępnij za pośrednictwem


DataConnectionSupport.RaiseStateChanged Method

Definition

Raises the state changed event on the enclosing DataConnection instance.

protected:
 void RaiseStateChanged(Microsoft::VisualStudio::Data::DataConnectionState oldState, Microsoft::VisualStudio::Data::DataConnectionState newState);
protected void RaiseStateChanged (Microsoft.VisualStudio.Data.DataConnectionState oldState, Microsoft.VisualStudio.Data.DataConnectionState newState);
member this.RaiseStateChanged : Microsoft.VisualStudio.Data.DataConnectionState * Microsoft.VisualStudio.Data.DataConnectionState -> unit
Protected Sub RaiseStateChanged (oldState As DataConnectionState, newState As DataConnectionState)

Parameters

oldState
DataConnectionState

The state of the connection prior to raising the StateChanged event.

newState
DataConnectionState

The state of the connection subsequent to raising the StateChanged event.

Applies to