共用方式為


FailedOperationException.FailedObjectName 屬性

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

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

語法

'宣告
Public Property FailedObjectName As String 
    Get 
    Set
'用途
Dim instance As FailedOperationException 
Dim value As String 

value = instance.FailedObjectName

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

屬性值

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

處理 SMO 例外狀況

請參閱

參考

FailedOperationException 類別

Microsoft.SqlServer.Management.Dmf 命名空間