次の方法で共有


ConnectionNotSetException クラス

The ConnectionNotSetException class is used to raise an exception when the connection passed to a DAC action, such as install, upgrade, or uninstall.

継承階層

  
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Dac.DacException
        Microsoft.SqlServer.Management.Dac.DeploymentValidationException
          Microsoft.SqlServer.Management.Dac.ConnectionNotSetException

名前空間:  Microsoft.SqlServer.Management.Dac
アセンブリ:  Microsoft.SqlServer.Management.Dac (Microsoft.SqlServer.Management.Dac.dll)

構文

'宣言

<> _
Public NotInheritable Class ConnectionNotSetException _
    Inherits DeploymentValidationException
'使用

Dim instance As ConnectionNotSetException
[]
public sealed class ConnectionNotSetException : DeploymentValidationException
[]
public ref class ConnectionNotSetException sealed : public DeploymentValidationException
[<>]
[<>]
type ConnectionNotSetException =  
    class
        inherit DeploymentValidationException
    end
public final class ConnectionNotSetException extends DeploymentValidationException

ConnectionNotSetException 型は、以下のメンバーを公開しています。

コンストラクター

  名前 説明
パブリック メソッド ConnectionNotSetException(Exception) Initializes an instance of the ConnectionNotSetException class when there was an inner exception that caused this exception.
パブリック メソッド ConnectionNotSetException(String) Initializes an instance of the ConnectionNotSetException class with a message.

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ DacExceptionType Gets the type of the exception. (DacException から継承されています。)
パブリック プロパティ ( から継承されています。)
パブリック プロパティ HelpLink Gets a string with the URL help link that further explains the exception. (DacException から継承されています。)
プロテクト プロパティ ( から継承されています。)
パブリック プロパティ ( から継承されています。)
パブリック プロパティ ( から継承されています。)
パブリック プロパティ ( から継承されています。)
パブリック プロパティ ( から継承されています。)
パブリック プロパティ ( から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド ( から継承されています。)
プロテクト メソッド ( から継承されています。)
パブリック メソッド ( から継承されています。)
パブリック メソッド ( から継承されています。)
パブリック メソッド ( から継承されています。)
パブリック メソッド ( から継承されています。)
プロテクト メソッド Init Initializes provider properties. (DacException から継承されています。)
プロテクト メソッド ( から継承されています。)
プロテクト メソッド SetHelpContext Sets the help context for the help link. (DacException から継承されています。)
パブリック メソッド ( から継承されています。)

先頭に戻る

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Management.Dac 名前空間