다음을 통해 공유


PropertyTypeMismatchException Constructor (String, String, String)

Initializes a new instance of the PropertyTypeMismatchException class for the specified property, and specified received type and expected type.

네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public Sub New ( _
    propertyName As String, _
    receivedType As String, _
    expectedType As String _
)
public PropertyTypeMismatchException (
    string propertyName,
    string receivedType,
    string expectedType
)
public:
PropertyTypeMismatchException (
    String^ propertyName, 
    String^ receivedType, 
    String^ expectedType
)
public PropertyTypeMismatchException (
    String propertyName, 
    String receivedType, 
    String expectedType
)
public function PropertyTypeMismatchException (
    propertyName : String, 
    receivedType : String, 
    expectedType : String
)

매개 변수

  • propertyName
    A String value that specifies the name of the property.
  • receivedType
    A String value that specifies the data type that was received incorrectly.
  • expectedType
    A String value that specifies the data type that is correct for the referenced property.

주의

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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

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

관련 자료

Handling SMO Exceptions