FunctionNotASmoObjectException 构造函数 (String, String)

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the specified function and object type.

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

语法

声明
Public Sub New ( _
    functionName As String, _
    targetType As String _
)
用法
Dim functionName As String 
Dim targetType As String 

Dim instance As New FunctionNotASmoObjectException(functionName, _
    targetType)
public FunctionNotASmoObjectException(
    string functionName,
    string targetType
)
public:
FunctionNotASmoObjectException(
    String^ functionName, 
    String^ targetType
)
new : 
        functionName:string * 
        targetType:string -> FunctionNotASmoObjectException
public function FunctionNotASmoObjectException(
    functionName : String, 
    targetType : String
)

参数

  • functionName
    类型:System.String
    A String value that specifies the name of the function that is associated with the exception.
  • targetType
    类型:System.String
    A String value that specifies type of object that is not supported.

注释

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

示例

处理 SMO 异常

请参阅

参考

FunctionNotASmoObjectException 类

FunctionNotASmoObjectException 重载

Microsoft.SqlServer.Management.Dmf 命名空间