Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Initializes a new instance of the TSqlModel class.
Espace de noms : Microsoft.SqlServer.Dac.Model
Assembly : Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)
Syntaxe
'Déclaration
Public Sub New ( _
fileName As String _
)
'Utilisation
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
)
Paramètres
- fileName
Type : System.String
File path to package.
Exceptions
| Exception | Condition |
|---|---|
| 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. |
Notes
By default DacSchemaModelStorageType.Memory is used for the model storage format.