Freigeben über


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 _
)
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
)

Parameter

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiel

How to: Construct an Object in Visual Basic .NET

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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