SqlObject.LoadInitDataFromAssembly Método
No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Loads the specified file from the specified assembly for the specified version and type of the Database Engine.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Sub LoadInitDataFromAssembly ( _
assemblyObject As Assembly, _
file As String, _
ver As ServerVersion, _
databaseEngineType As DatabaseEngineType _
)
'Uso
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
)
Parámetros
- assemblyObject
Tipo: System.Reflection.Assembly
A Assembly object specifying the assembly that contains the file.
- file
Tipo: System.String
A String value specifying the file to load.
- ver
Tipo: Microsoft.SqlServer.Management.Common.ServerVersion
A ServerVersion object specifying the version of the Database Engine.
- databaseEngineType
Tipo: Microsoft.SqlServer.Management.Common.DatabaseEngineType
A DatabaseEngineType object specifying the type of the Database Engine.