TargetSetCountMismatchException 构造函数 (String, String)

Initializes a new instance of the TargetSetCountMismatchException class with the specified target set and facet.

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

语法

声明
Public Sub New ( _
    objectSetName As String, _
    facetName As String _
)
用法
Dim objectSetName As String 
Dim facetName As String 

Dim instance As New TargetSetCountMismatchException(objectSetName, _
    facetName)
public TargetSetCountMismatchException(
    string objectSetName,
    string facetName
)
public:
TargetSetCountMismatchException(
    String^ objectSetName, 
    String^ facetName
)
new : 
        objectSetName:string * 
        facetName:string -> TargetSetCountMismatchException
public function TargetSetCountMismatchException(
    objectSetName : String, 
    facetName : String
)

参数

  • objectSetName
    类型:System.String
    A String value that specifies the name of the target set.

注释

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

示例

处理 SMO 异常

请参阅

参考

TargetSetCountMismatchException 类

TargetSetCountMismatchException 重载

Microsoft.SqlServer.Management.Dmf 命名空间