Udostępnij przez


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

'Deklaracja
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.

Example

Calling Methods

Platforms

Development Platforms

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

Target Platforms

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