SqlAssembly.Create メソッド (String)

SQL Server のインスタンスで、SqlAssembly オブジェクトによる定義に基づいてアセンブリを作成します。

名前空間:  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
    1 つのマニフェストを含む単一のモジュール アセンブリのサーバー パス (ネットワーク共有可能) を示す String 値です。

説明

SQL Server では、参照されるアセンブリが依存する、まだインストールされていないアセンブリがパス内で検索されます。 SQL Server では指定されたファイルが直接アクセスされるため、この操作を正常に完了するには十分なアクセス権が必要です。

使用例

メソッドの呼び出し

関連項目

参照

SqlAssembly クラス

Create オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

CREATE ASSEMBLY (Transact-SQL)