Compartilhar via


Método DataConnectionSupport.RaiseStateChanged

Gera o evento changed estado na instância incluindo de DataConnection .

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (em Microsoft.VisualStudio.Data.dll)

Sintaxe

'Declaração
Protected Sub RaiseStateChanged ( _
    oldState As DataConnectionState, _
    newState As DataConnectionState _
)
protected void RaiseStateChanged(
    DataConnectionState oldState,
    DataConnectionState newState
)
protected:
void RaiseStateChanged(
    DataConnectionState oldState, 
    DataConnectionState newState
)
member RaiseStateChanged : 
        oldState:DataConnectionState * 
        newState:DataConnectionState -> unit 
protected function RaiseStateChanged(
    oldState : DataConnectionState, 
    newState : DataConnectionState
)

Parâmetros

Comentários

A implementação padrão da classe de DataConnectionState fornece três estados: open, closed, e broken.

Segurança do .NET Framework

Consulte também

Referência

DataConnectionSupport Classe

Namespace Microsoft.VisualStudio.Data