共用方式為


FailedOperationException.FailedObject 屬性

Gets or sets the object on which the operation failed.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Property FailedObject As Object 
    Get 
    Set
'用途
Dim instance As FailedOperationException 
Dim value As Object 

value = instance.FailedObject

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

屬性值

型別:System.Object
An Object system object value that specifies the object on which the operation failed.

範例

處理 SMO 例外狀況

請參閱

參考

FailedOperationException 類別

Microsoft.SqlServer.Management.Smo 命名空間