FailedOperationException.Operation 属性

Gets or sets the operation that failed.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Property Operation As String 
    Get 
    Set
用法
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)

属性值

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

示例

处理 SMO 异常

请参阅

参考

FailedOperationException 类

Microsoft.SqlServer.Management.Smo 命名空间