SqlAssembly.Create Method (String)


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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Create(
	string primaryAssemblyServerPath


Type: 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.

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.

Return to top