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

'Declaration
Public Sub New ( _
    objectSetName As String _
)
'Usage
Dim objectSetName As String 

Dim instance As New NoTargetSetEnabledException(objectSetName)
public NoTargetSetEnabledException(
    string objectSetName
)
public:
NoTargetSetEnabledException(
    String^ objectSetName
)
new : 
        objectSetName:string -> NoTargetSetEnabledException
public function NoTargetSetEnabledException(
    objectSetName : 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

Reference

NoTargetSetEnabledException Class

NoTargetSetEnabledException Overload

Microsoft.SqlServer.Management.Dmf Namespace