Méthode LoadInitDataFromAssembly
Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Loads the specified file from the specified assembly for the specified version and type of the Database Engine.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Sub LoadInitDataFromAssembly ( _
assemblyObject As Assembly, _
file As String, _
ver As ServerVersion, _
databaseEngineType As DatabaseEngineType _
)
'Utilisation
Dim instance As SqlObject
Dim assemblyObject As [Assembly]
Dim file As String
Dim ver As ServerVersion
Dim databaseEngineType As DatabaseEngineType
instance.LoadInitDataFromAssembly(assemblyObject, _
file, ver, databaseEngineType)
public void LoadInitDataFromAssembly(
Assembly assemblyObject,
string file,
ServerVersion ver,
DatabaseEngineType databaseEngineType
)
public:
void LoadInitDataFromAssembly(
Assembly^ assemblyObject,
String^ file,
ServerVersion^ ver,
DatabaseEngineType databaseEngineType
)
member LoadInitDataFromAssembly :
assemblyObject:Assembly *
file:string *
ver:ServerVersion *
databaseEngineType:DatabaseEngineType -> unit
public function LoadInitDataFromAssembly(
assemblyObject : Assembly,
file : String,
ver : ServerVersion,
databaseEngineType : DatabaseEngineType
)
Paramètres
- assemblyObject
Type : System.Reflection. . :: . .Assembly
A Assembly object specifying the assembly that contains the file.
- file
Type : System. . :: . .String
A String value specifying the file to load.
- ver
Type : Microsoft.SqlServer.Management.Common. . :: . .ServerVersion
A ServerVersion object specifying the version of the Database Engine.
- databaseEngineType
Type : Microsoft.SqlServer.Management.Common. . :: . .DatabaseEngineType
A DatabaseEngineType object specifying the type of the Database Engine.