Поделиться через


Конструктор CollectionNotAvailableException (String, ServerVersion)

Initializes a new instance of the CollectionNotAvailableException class with the specified collection and the version of the instance of Microsoft SQL Server.

Пространство имен:  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
)

Параметры