SqlServerManagementException クラス
SqlServerManagementException クラスは、サーバーへの接続で SQL Server 管理エラーが発生した場合に発生する例外です。
継承階層
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
詳細情報...
名前空間: Microsoft.SqlServer.Management.Common
アセンブリ: Microsoft.SqlServer.ConnectionInfo (Microsoft.SqlServer.ConnectionInfo.dll)
構文
'宣言
Public Class SqlServerManagementException _
Inherits Exception
'使用
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
SqlServerManagementException 型は、以下のメンバーを公開しています。
コンストラクター
名前 | 説明 | |
---|---|---|
SqlServerManagementException() | SqlServerManagementException クラスの新しいインスタンスを初期化します。 | |
SqlServerManagementException(String) | 指定されたメッセージ テキストを使用して、SqlServerManagementException クラスの新しいインスタンスを初期化します。 | |
SqlServerManagementException(SerializationInfo, StreamingContext) | 指定したシリアル化情報とストリーム コンテキストを使用して、SqlServerManagementException クラスの新しいインスタンスを初期化します。 | |
SqlServerManagementException(String, Exception) | 指定したメッセージ テキストと内部例外を使用して、SqlServerManagementException クラスの新しいインスタンスを初期化します。 |
先頭に戻る
プロパティ
名前 | 説明 | |
---|---|---|
Data | (Exception から継承されています。) | |
HelpLink | (Exception から継承されています。) | |
HResult | (Exception から継承されています。) | |
InnerException | (Exception から継承されています。) | |
Message | (Exception から継承されています。) | |
ProductName | 例外の原因になった製品の名前を取得します。 | |
Source | (Exception から継承されています。) | |
StackTrace | (Exception から継承されています。) | |
TargetSite | (Exception から継承されています。) |
先頭に戻る
メソッド
名前 | 説明 | |
---|---|---|
Equals | (Object から継承されています。) | |
Finalize | (Object から継承されています。) | |
GetBaseException | (Exception から継承されています。) | |
GetHashCode | (Object から継承されています。) | |
GetObjectData | セキュリティ クリティカル。 (Exception から継承されています。) | |
GetType | (Exception から継承されています。) | |
MemberwiseClone | (Object から継承されています。) | |
ToString | (Exception から継承されています。) |
先頭に戻る
イベント
名前 | 説明 | |
---|---|---|
SerializeObjectState | (Exception から継承されています。) |
先頭に戻る
説明
スレッド セーフ
この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
使用例
スレッド セーフ
この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
関連項目
参照
Microsoft.SqlServer.Management.Common 名前空間
継承階層
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Collector.CollectorException
Microsoft.SqlServer.Management.Common.TransferException
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
Microsoft.SqlServer.Management.XEvent.XEventException