Конструктор 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