Share via


FailedOperationException.FailedObjectName Property

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Property FailedObjectName As String 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

Reference

FailedOperationException Class

Microsoft.SqlServer.Management.Dmf Namespace