Freigeben über


TSqlModel-Konstruktor (String)

Initializes a new instance of the TSqlModel class.

Namespace:  Microsoft.SqlServer.Dac.Model
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

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

Dim instance As New TSqlModel(fileName)
public TSqlModel(
    string fileName
)
public:
TSqlModel(
    String^ fileName
)
new : 
        fileName:string -> TSqlModel
public function TSqlModel(
    fileName : String
)

Parameter

Ausnahmen

Ausnahme Bedingung
DacModelException

If there are problems loading the package from the specified fileName. This may occur if the package does not load correctly or if references required by the package are not found in either the same directory as the package, or using the original path to the reference.

Hinweise

By default DacSchemaModelStorageType.Memory is used for the model storage format.

Siehe auch

Verweis

TSqlModel Klasse

TSqlModel-Überladung

Microsoft.SqlServer.Dac.Model-Namespace