Compartir a través de


SqlAssembly.Create Método (String)

Creates an assembly on the instance of SQL Server as defined by the SqlAssembly object.

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

Sintaxis

'Declaración
Public Sub Create ( _
    primaryAssemblyServerPath As String _
)
'Uso
Dim instance As SqlAssembly 
Dim primaryAssemblyServerPath As String

instance.Create(primaryAssemblyServerPath)
public void Create(
    string primaryAssemblyServerPath
)
public:
void Create(
    String^ primaryAssemblyServerPath
)
member Create : 
        primaryAssemblyServerPath:string -> unit
public function Create(
    primaryAssemblyServerPath : String
)

Parámetros

  • primaryAssemblyServerPath
    Tipo: System.String
    A String value that specifies the server path (which can be a network share) of a single module assembly that contains a manifest.

Comentarios

SQL Server searches in the path for assemblies the referenced assembly depends 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)