Share via


CollectionNotAvailableException-Konstruktor (String)

Initializes a new instance of the CollectionNotAvailableException class with the specified message text.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String 

Dim instance As New CollectionNotAvailableException(message)
public CollectionNotAvailableException(
    string message
)
public:
CollectionNotAvailableException(
    String^ message
)
new : 
        message:string -> CollectionNotAvailableException
public function CollectionNotAvailableException(
    message : String
)

Parameter

  • message
    Typ: System.String
    A String value that specifies the message text describing the event that caused the exception.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

CollectionNotAvailableException Klasse

CollectionNotAvailableException-Überladung

Microsoft.SqlServer.Management.Smo-Namespace