CollectionNotAvailableException 建構函式

定義

多載

名稱 Description
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 實例。

適用於