Share via


InvalidDatabaseStateForExtractException Constructor (String)

Initializes a new instance of the InvalidDatabaseStateForExtractException class for a given database and a string describing the database state.

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

Syntax

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

Dim instance As New InvalidDatabaseStateForExtractException(databaseName)
public InvalidDatabaseStateForExtractException(
    string databaseName
)
public:
InvalidDatabaseStateForExtractException(
    String^ databaseName
)
new : 
        databaseName:string -> InvalidDatabaseStateForExtractException
public function InvalidDatabaseStateForExtractException(
    databaseName : String
)

Parameters

  • databaseName
    Type: System.String
    The name of the invalid database.