Partilhar via


Construtor SqlAssemblyFile (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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub New ( _
    sqlAssembly As SqlAssembly, _
    name As String _
)
'Uso
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
)

Parâmetros