다음을 통해 공유


Create 메서드 (String)

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub Create ( _
    primaryAssemblyServerPath As String _
)
‘사용 방법
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
)

매개 변수

  • primaryAssemblyServerPath
    유형: 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.