Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Resolves a provider-specific assembly string to its corresponding Assembly representation.
Namespace:  Microsoft.VisualStudio.Data.Core
Assembly:  Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)
Syntax
'Declaration
Function GetAssembly ( _
    assemblyString As String _
) As Assembly
Assembly GetAssembly(
    string assemblyString
)
Assembly^ GetAssembly(
    String^ assemblyString
)
abstract GetAssembly : 
        assemblyString:string -> Assembly
function GetAssembly(
    assemblyString : String
) : Assembly
Parameters
- assemblyString 
 Type: System.String- A provider-specific assembly string. 
Return Value
Type: System.Reflection.Assembly
An Assembly object that represents the assembly that is resolved from the specified assembly string, if found; otherwise, nulla null reference (Nothing in Visual Basic).
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentNullException | The assemblyString parameter is nulla null reference (Nothing in Visual Basic). | 
| [<ANY>] | The DDEX provider’s GetAssembly implementation threw an exception. | 
Remarks
This method delegates to the GetAssembly method, passing Empty as the value of the source parameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.