Constructeur SqlAssemblyFile (SqlAssembly, String)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    sqlAssembly As SqlAssembly, _
    name As String _
)
'Utilisation
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
)

Paramètres