Propriété FailedOperationException.Operation

Gets or sets the operation that failed.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Property Operation As String 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

FailedOperationException Classe

Espace de noms Microsoft.SqlServer.Management.Smo