LoadInitDataFromAssembly 方法

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Loads the specified file from the specified assembly for the specified version and type of the Database Engine.

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Sub LoadInitDataFromAssembly ( _
    assemblyObject As Assembly, _
    file As String, _
    ver As ServerVersion, _
    databaseEngineType As DatabaseEngineType _
)
用法
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
)

参数