Classe SqlServerManagementException
The SqlServerManagementException class is an exception that is raised when a SQL Server management error is encountered on the connection to the server.
Gerarchia di ereditarietà
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common..::..SqlServerManagementException
Altro...
Spazio dei nomi Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Sintassi
'Dichiarazione
Public Class SqlServerManagementException _
Inherits Exception
'Utilizzo
Dim instance As SqlServerManagementException
public class SqlServerManagementException : Exception
public ref class SqlServerManagementException : public Exception
type SqlServerManagementException =
class
inherit Exception
end
public class SqlServerManagementException extends Exception
Nel tipo SqlServerManagementException sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
SqlServerManagementException() () () () | Initializes a new instance of the SqlServerManagementException class. | |
SqlServerManagementException(String) | Initializes a new instance of the SqlServerManagementException class with the specified message text. | |
SqlServerManagementException(SerializationInfo, StreamingContext) | Initializes a new instance of the SqlServerManagementException class with the specified serialization information and streaming context. | |
SqlServerManagementException(String, Exception) | Initializes a new instance of the SqlServerManagementException class with the specified message text and inner exception. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
Data | Ereditato da Exception. | |
HelpLink | Ereditato da Exception. | |
HResult | Ereditato da Exception. | |
InnerException | Ereditato da Exception. | |
Message | Ereditato da Exception. | |
ProductName | Gets the name of the product that caused the exception. | |
Source | Ereditato da Exception. | |
StackTrace | Ereditato da Exception. | |
TargetSite | Ereditato da Exception. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Equals | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
GetBaseException | Ereditato da Exception. | |
GetHashCode | Ereditato da Object. | |
GetObjectData | Ereditato da Exception. | |
GetType | Ereditato da Exception. | |
MemberwiseClone | Ereditato da Object. | |
ToString | Ereditato da Exception. |
In alto
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.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
Gerarchia di ereditarietà
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common..::..SqlServerManagementException
Microsoft.SqlServer.Management.Common. . :: . .TransferException
Microsoft.SqlServer.Management.Dac. . :: . .DacException
Microsoft.SqlServer.Management.Dmf. . :: . .DmfException
Microsoft.SqlServer.Management.RegisteredServers. . :: . .RegisteredServerException
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .EnumeratorException
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcException
Microsoft.SqlServer.Management.Smo. . :: . .SmoException
Microsoft.SqlServer.Management.Trace. . :: . .SqlTraceException
Microsoft.SqlServer.Management.Utility. . :: . .UtilityException