Compartir a través de


SqlAssembly.Create Método (array<String )

Creates an assembly on the instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub Create ( _
    assemblyLocalPaths As String() _
)
'Uso
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[]
)

Parámetros

  • assemblyLocalPaths
    Tipo: 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.

Comentarios

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.

Ejemplos

Llamar a métodos

Vea también

Referencia

SqlAssembly Clase

Sobrecarga de Create

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

CREATE ASSEMBLY (Transact-SQL)