Condividi tramite


Classe PropertyNotSetException

The exception that is raised when a process requests a property that has not been set on the connection to the server.

Spazio dei nomi:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class PropertyNotSetException _
    Inherits ConnectionException
'Utilizzo
Dim instance As PropertyNotSetException
[SerializableAttribute]
public sealed class PropertyNotSetException : ConnectionException
[SerializableAttribute]
public ref class PropertyNotSetException sealed : public ConnectionException
[<SealedAttribute>]
[<SerializableAttribute>]
type PropertyNotSetException =  
    class
        inherit ConnectionException
    end
public final class PropertyNotSetException extends ConnectionException

Osservazioni

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Gerarchia di ereditarietà

System. . :: . .Object
  System. . :: . .Exception
    System. . :: . .SystemException
      Microsoft.SqlServer.Management.Common. . :: . .ConnectionException
        Microsoft.SqlServer.Management.Common..::..PropertyNotSetException

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.