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 _
)
'Usage
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
)
Parameters
- sqlAssembly
Type: Microsoft.SqlServer.Management.Smo.SqlAssembly
A SqlAssembly object that specifies the assembly for which to create the assembly file.
- name
Type: System.String
A String value that specifies the name of the assembly file.