FailedOperationException.Operation 属性

Gets the operation that failed.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.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 specifies the operation that failed.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

处理 SMO 异常

请参阅

参考

FailedOperationException 类

Microsoft.SqlServer.Management.Dmf 命名空间