Share via


NoTargetSetEnabledException Constructor (String)

 

Initializes a new instance of the NoTargetSetEnabledException class that has the specified message text.

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

public NoTargetSetEnabledException(
    string objectSetName
)
public:
NoTargetSetEnabledException(
    String^ objectSetName
)
new : 
        objectSetName:string -> NoTargetSetEnabledException
Public Sub New (
    objectSetName As String
)

Parameters

  • objectSetName
    Type: System.String

    A String value that specifies the target set that is not enabled.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

NoTargetSetEnabledException Overload
NoTargetSetEnabledException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top