SqlObject.LoadInitDataFromAssembly Method
Do not reference this member directly in your code. It supports the SQL Server infrastructure. Loads the specified file from the specified assembly for the specified version and type of the Database Engine.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Sub LoadInitDataFromAssembly ( _
assemblyObject As Assembly, _
file As String, _
ver As ServerVersion, _
databaseEngineType As DatabaseEngineType _
)
'Usage
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
)
Parameters
- 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.