Dela via


Util.LoadAssembly Method

Loads the specified assembly to be used. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Function LoadAssembly ( _
    assemblyName As String _
) As Assembly
'Usage
Dim assemblyName As String
Dim returnValue As [Assembly]

returnValue = Util.LoadAssembly(assemblyName)
public static Assembly LoadAssembly(
    string assemblyName
)
public:
static Assembly^ LoadAssembly(
    String^ assemblyName
)
static member LoadAssembly : 
        assemblyName:string -> Assembly 
public static function LoadAssembly(
    assemblyName : String
) : Assembly

Parameters

  • assemblyName
    Type: System.String
    A string value for the assembly name.

Return Value

Type: System.Reflection.Assembly
The assembly to be used.