语言

CollectionNotAvailableException 构造函数

定义

重载

名称 说明
CollectionNotAvailableException()

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

CollectionNotAvailableException(String)

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

CollectionNotAvailableException(String, ServerVersion)

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

CollectionNotAvailableException(String, Exception)

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

CollectionNotAvailableException()

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

public CollectionNotAvailableException();
Public Sub New ()

适用于

CollectionNotAvailableException(String)

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

public CollectionNotAvailableException(string message);
new Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException : string -> Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException
Public Sub New (message As String)

参数

message
String

异常的消息作为字符串。

适用于

CollectionNotAvailableException(String, ServerVersion)

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

public CollectionNotAvailableException(string colname, Microsoft.SqlServer.Management.Common.ServerVersion serverVersion);
new Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException : string * Microsoft.SqlServer.Management.Common.ServerVersion -> Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException
Public Sub New (colname As String, serverVersion As ServerVersion)

参数

colname
String

集合的名称作为字符串。

serverVersion
ServerVersion

服务器版本为 T:Microsoft。SqlServer.Server.ServerVersion

适用于

CollectionNotAvailableException(String, Exception)

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

public CollectionNotAvailableException(string message, Exception innerException);
new Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException : string * Exception -> Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException
Public Sub New (message As String, innerException As Exception)

参数

message
String

异常的消息作为字符串。

innerException
Exception

导致当前异常的 T:System.Exception 实例。

适用于