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 命名空间