Partilhar via


SqlAssemblyFile Constructor (SqlAssembly, String)

Initializes a new instance of the SqlAssemblyFile class for the specified assembly and with the specified name.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Sub New ( _
    sqlAssembly As SqlAssembly, _
    name As String _
)
public SqlAssemblyFile (
    SqlAssembly sqlAssembly,
    string name
)
public:
SqlAssemblyFile (
    SqlAssembly^ sqlAssembly, 
    String^ name
)
public SqlAssemblyFile (
    SqlAssembly sqlAssembly, 
    String name
)
public function SqlAssemblyFile (
    sqlAssembly : SqlAssembly, 
    name : String
)

Parameters

  • sqlAssembly
    A SqlAssembly object that specifies the assembly for which to create the assembly file.
  • name
    A String value that specifies the name of the assembly file.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Construct an Object in Visual Basic .NET

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

SqlAssemblyFile Class
SqlAssemblyFile Members
Microsoft.SqlServer.Management.Smo Namespace