Share 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 _
)
'Usage
Dim sqlAssembly As SqlAssembly 
Dim name As String 

Dim instance As New SqlAssemblyFile(sqlAssembly, _
    name)
public SqlAssemblyFile(
    SqlAssembly sqlAssembly,
    string name
)
public:
SqlAssemblyFile(
    SqlAssembly^ sqlAssembly, 
    String^ name
)
new : 
        sqlAssembly:SqlAssembly * 
        name:string -> SqlAssemblyFile
public function SqlAssemblyFile(
    sqlAssembly : SqlAssembly, 
    name : String
)

Parameters

Examples

Calling Methods

See Also

Reference

SqlAssemblyFile Class

SqlAssemblyFile Overload

Microsoft.SqlServer.Management.Smo Namespace