SqlAssembly SqlAssembly SqlAssembly Constructors

Definition

Overloads

SqlAssembly() SqlAssembly() SqlAssembly()

Initializes a new instance of the SqlAssembly class.

SqlAssembly(Database, String) SqlAssembly(Database, String)

Initializes a new instance of the SqlAssembly class with the specified name and on the specified database.

SqlAssembly() SqlAssembly() SqlAssembly()

Initializes a new instance of the SqlAssembly class.

public:
 SqlAssembly();
public SqlAssembly ();
Public Sub New ()

Examples

Calling Methods

Remarks

The default constructor initializes any fields to their default values.

SqlAssembly(Database, String) SqlAssembly(Database, String)

Initializes a new instance of the SqlAssembly class with the specified name and on the specified database.

public:
 SqlAssembly(Microsoft::SqlServer::Management::Smo::Database ^ database, System::String ^ name);
public SqlAssembly (Microsoft.SqlServer.Management.Smo.Database database, string name);
Parameters
database
Database Database Database

A Database object that specifies the database on which the assembly is to be registered.

name
String String String

A String value that specifies the name of the SqlAssembly object.

Examples

Calling Methods

Applies to