مشاركة عبر


FailedOperationException.Operation Property

Gets or sets the operation that failed.

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

Syntax

'Declaration
Public Property Operation As String 
    Get 
    Set
'Usage
Dim instance As FailedOperationException 
Dim value As String 

value = instance.Operation

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

Property Value

Type: System.String
A String value that contains the name of the operation that failed.

Examples

Handling SMO Exceptions

See Also

Reference

FailedOperationException Class

Microsoft.SqlServer.Management.Smo Namespace