Share via


CollectionNotAvailableException Constructors

Definition

Overloads

CollectionNotAvailableException()

Constructor for the T:Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException.

CollectionNotAvailableException(String)

Constructor for the T:Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException.

CollectionNotAvailableException(String, ServerVersion)

Constructor for the T:Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException.

CollectionNotAvailableException(String, Exception)

Constructor for the T:Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException.

CollectionNotAvailableException()

Constructor for the T:Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException.

public CollectionNotAvailableException ();
Public Sub New ()

Applies to

CollectionNotAvailableException(String)

Constructor for the 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)

Parameters

message
String

The message of the exception as string.

Applies to

CollectionNotAvailableException(String, ServerVersion)

Constructor for the 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)

Parameters

colname
String

The name of the collection as string.

serverVersion
ServerVersion

The server version as T:Microsoft.SqlServer.Server.ServerVersion

Applies to

CollectionNotAvailableException(String, Exception)

Constructor for the 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)

Parameters

message
String

The message of the exception as string.

innerException
Exception

The T:System.Exception instance that caused the current exception.

Applies to