PropertyTypeMismatchException 생성자 (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(Microsoft.SqlServer.Smo.dll)


Public Sub New ( _
    propertyName As String, _
    receivedType As String, _
    expectedType As String _
‘사용 방법
Dim propertyName As String 
Dim receivedType As String 
Dim expectedType As String 

Dim instance As New PropertyTypeMismatchException(propertyName, _
    receivedType, expectedType)
public PropertyTypeMismatchException(
    string propertyName,
    string receivedType,
    string expectedType
    String^ propertyName, 
    String^ receivedType, 
    String^ expectedType
new : 
        propertyName:string * 
        receivedType:string * 
        expectedType:string -> PropertyTypeMismatchException
public function PropertyTypeMismatchException(
    propertyName : String, 
    receivedType : String, 
    expectedType : String

매개 변수

  • receivedType
    유형: System.String
    A String value that specifies the data type that was received incorrectly.
  • expectedType
    유형: System.String
    A String value that specifies the data type that is correct for the referenced property.

SMO 예외 처리

참고 항목


PropertyTypeMismatchException 클래스

PropertyTypeMismatchException 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스