次の方法で共有


CollectionNotAvailableException コンストラクター (String, ServerVersion)

指定したコレクションと Microsoft SQL Server のインスタンスのバージョンを使用して、CollectionNotAvailableException クラスの新しいインスタンスを初期化します。

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

構文

'宣言
Public Sub New ( _
    colname As String, _
    serverVersion As ServerVersion _
)
'使用
Dim colname As String 
Dim serverVersion As ServerVersion 

Dim instance As New CollectionNotAvailableException(colname, _
    serverVersion)
public CollectionNotAvailableException(
    string colname,
    ServerVersion serverVersion
)
public:
CollectionNotAvailableException(
    String^ colname, 
    ServerVersion^ serverVersion
)
new : 
        colname:string * 
        serverVersion:ServerVersion -> CollectionNotAvailableException
public function CollectionNotAvailableException(
    colname : String, 
    serverVersion : ServerVersion
)

パラメーター

  • colname
    型: System.String
    使用できないコレクションの名前を示す String 値です。

使用例

SMO 例外の処理

関連項目

参照

CollectionNotAvailableException クラス

CollectionNotAvailableException オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間