Partilhar via


Construtor TSqlModel (String, DacSchemaModelStorageType)

Initializes a new instance of the TSqlModel class.

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

Sintaxe

'Declaração
Public Sub New ( _
    fileName As String, _
    modelStorageType As DacSchemaModelStorageType _
)
'Uso
Dim fileName As String 
Dim modelStorageType As DacSchemaModelStorageType 

Dim instance As New TSqlModel(fileName, _
    modelStorageType)
public TSqlModel(
    string fileName,
    DacSchemaModelStorageType modelStorageType
)
public:
TSqlModel(
    String^ fileName, 
    DacSchemaModelStorageType modelStorageType
)
new : 
        fileName:string * 
        modelStorageType:DacSchemaModelStorageType -> TSqlModel
public function TSqlModel(
    fileName : String, 
    modelStorageType : DacSchemaModelStorageType
)

Parâmetros

Exceções

Exceção Condição
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.

Consulte também

Referência

TSqlModel Classe

Sobrecarregado TSqlModel

Namespace Microsoft.SqlServer.Dac.Model