Condividi tramite


SqlAssemblyFile Constructor (SqlAssembly, String)

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

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
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
)

Parametri

  • 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.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempio

How to: Construct an Object in Visual Basic .NET

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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