PropertyTypeMismatchException.ExpectedType 属性

Gets the expected data type for the property.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public ReadOnly Property ExpectedType As String 
    Get
用法
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

属性值

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

示例

处理 SMO 异常

请参阅

参考

PropertyTypeMismatchException 类

Microsoft.SqlServer.Management.Smo 命名空间