다음을 통해 공유


CollectionNotAvailableException Constructor (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 (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public Sub New ( _
    colname As String, _
    serverVersion As ServerVersion _
)
public CollectionNotAvailableException (
    string colname,
    ServerVersion serverVersion
)
public:
CollectionNotAvailableException (
    String^ colname, 
    ServerVersion^ serverVersion
)
public CollectionNotAvailableException (
    String colname, 
    ServerVersion serverVersion
)
public function CollectionNotAvailableException (
    colname : String, 
    serverVersion : ServerVersion
)

매개 변수

  • colname
    A String value that specifies the name of the collection that is not available.
  • serverVersion
    A ServerVersion object value that specifies the version of the instance of SQL Server that raised the exception.

주의

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

How to: Catch an Exception in Visual Basic .NET

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

CollectionNotAvailableException Class
CollectionNotAvailableException Members
Microsoft.SqlServer.Management.Smo Namespace

관련 자료

Handling SMO Exceptions