Sdílet prostřednictvím


FailedOperationException.FailedObjectType Property

Gets the type 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 FailedObjectType As String 
    Get 
    Set
'Usage
Dim instance As FailedOperationException 
Dim value As String 

value = instance.FailedObjectType

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

Property Value

Type: System.String
A String value that specifies the type 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