FailedOperationException.FailedObjectType 属性

Gets the type of the object that is associated with the failed operation.

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

语法

声明
Public Property FailedObjectType As String 
    Get 
    Set
用法
Dim instance As FailedOperationException 
Dim value As String 

value = instance.FailedObjectType

instance.FailedObjectType = value
public string FailedObjectType { get; set; }
public:
property String^ FailedObjectType {
    String^ get ();
    void set (String^ value);
}
member FailedObjectType : string with get, set
function get FailedObjectType () : String 
function set FailedObjectType (value : String)

属性值

类型:System.String
A String value that specifies the type of the object that is associated with the failed operation.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

处理 SMO 异常

请参阅

参考

FailedOperationException 类

Microsoft.SqlServer.Management.Dmf 命名空间