Конструктор TSqlModel (String)

Initializes a new instance of the TSqlModel class.

Пространство имен:  Microsoft.SqlServer.Dac.Model
Сборка:  Microsoft.SqlServer.Dac.Extensions (в Microsoft.SqlServer.Dac.Extensions.dll)

Синтаксис

'Декларация
Public Sub New ( _
    fileName As String _
)
'Применение
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
)

Параметры

Исключения

Исключение Условие
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.

Замечания

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

См. также

Справочник

TSqlModel Класс

Перегрузка TSqlModel

Пространство имен Microsoft.SqlServer.Dac.Model