Partager via


Create méthode (String)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Create ( _
    primaryAssemblyServerPath As String _
)
'Utilisation
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
)

Paramètres

  • 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.

Notes

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 in order to complete this operation successfully.