DacServices.Register 方法

定義

多載

名稱 Description
Register(String, String, Version, String)

為指定目標資料庫新增 DAC 註冊資訊。

Register(String, DacSchemaModelStorageType, String, Version, String)

為指定目標資料庫新增 DAC 註冊資訊。

Register(String, String, Version, String)

為指定目標資料庫新增 DAC 註冊資訊。

public void Register(string targetDatabaseName, string applicationName, Version applicationVersion, string applicationDescription = default);
member this.Register : string * string * Version * string -> unit
Public Sub Register (targetDatabaseName As String, applicationName As String, applicationVersion As Version, Optional applicationDescription As String = Nothing)

參數

targetDatabaseName
String

要加入註冊資訊的資料庫名稱。

applicationName
String

DAC 應用程式的字串識別碼。

applicationVersion
Version

DAC 應用程式的版本。

applicationDescription
String

DAC 應用程式的可選字串摘要。

例外狀況

如果所需的參數中有空或零長度的字串。

適用於

Register(String, DacSchemaModelStorageType, String, Version, String)

為指定目標資料庫新增 DAC 註冊資訊。

public void Register(string targetDatabaseName, Microsoft.SqlServer.Dac.DacSchemaModelStorageType modelStorageType, string applicationName, Version applicationVersion, string applicationDescription = default);
member this.Register : string * Microsoft.SqlServer.Dac.DacSchemaModelStorageType * string * Version * string -> unit
Public Sub Register (targetDatabaseName As String, modelStorageType As DacSchemaModelStorageType, applicationName As String, applicationVersion As Version, Optional applicationDescription As String = Nothing)

參數

targetDatabaseName
String

要加入註冊資訊的資料庫名稱。

modelStorageType
DacSchemaModelStorageType

指定結構模型的後備儲存類型。

applicationName
String

DAC 應用程式的字串識別碼。

applicationVersion
Version

DAC 應用程式的版本。

applicationDescription
String

DAC 應用程式的可選字串摘要。

例外狀況

如果所需的參數中有空或零長度的字串。

適用於