SqlAssemblyFile 建構函式 (SqlAssembly, String)

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    sqlAssembly As SqlAssembly, _
    name As String _
)
'用途
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
)

參數

範例

呼叫方法