SqlAssembly.Create 方法 (array<String )

Creates an assembly on the instance of SQL Server.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Create ( _
    assemblyLocalPaths As String() _
)
用法
Dim instance As SqlAssembly 
Dim assemblyLocalPaths As String()

instance.Create(assemblyLocalPaths)
public void Create(
    string[] assemblyLocalPaths
)
public:
void Create(
    array<String^>^ assemblyLocalPaths
)
member Create : 
        assemblyLocalPaths:string[] -> unit
public function Create(
    assemblyLocalPaths : String[]
)

参数

  • assemblyLocalPaths
    类型:array<System.String[]
    A String array value that specifies the server paths (which can be a network share) of a single module assemblies that contain manifests.

注释

Microsoft SQL Server searches in the paths for assemblies the referenced assemblies depend on and that have not yet been installed. SQL Server accesses the indicated files directly and therefore needs to have sufficient access rights to complete this operation successfully.

示例

调用方法

请参阅

参考

SqlAssembly 类

Create 重载

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE ASSEMBLY (Transact-SQL)