SqlAssembly Constructor (Database, String)
Initializes a new instance of the SqlAssembly class with the specified name and on the specified database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Sub New ( _
database As Database, _
name As String _
)
public SqlAssembly (
Database database,
string name
)
public:
SqlAssembly (
Database^ database,
String^ name
)
public SqlAssembly (
Database database,
String name
)
public function SqlAssembly (
database : Database,
name : String
)
Parameter
- database
A Database object that specifies the database on which the assembly is to be registered.
- name
A String value that specifies the name of the SqlAssembly object.
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
SqlAssembly Class
SqlAssembly Members
Microsoft.SqlServer.Management.Smo Namespace