Freigeben über


FailedOperationException.FailedObjectName-Eigenschaft

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)

Eigenschaftswert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

FailedOperationException Klasse

Microsoft.SqlServer.Management.Dmf-Namespace