Bagikan melalui


PropertyTypeMismatchException.ExpectedType Property

Gets the expected data type for the property.

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

Syntax

'Declaration
Public ReadOnly Property ExpectedType As String 
    Get
'Usage
Dim instance As PropertyTypeMismatchException 
Dim value As String 

value = instance.ExpectedType
public string ExpectedType { get; }
public:
property String^ ExpectedType {
    String^ get ();
}
member ExpectedType : string
function get ExpectedType () : String

Property Value

Type: System.String
A String value that specifies the expected data type for the property.

Examples

Handling SMO Exceptions

See Also

Reference

PropertyTypeMismatchException Class

Microsoft.SqlServer.Management.Smo Namespace