Share via


DacServices.Register Method

Definition

Overloads

Register(String, String, Version, String)

Add DAC registration information for the specified target database.

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

Add DAC registration information for the specified target database.

Register(String, String, Version, String)

Add DAC registration information for the specified target database.

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)

Parameters

targetDatabaseName
String

Name of the database for which to add registration information.

applicationName
String

String identifier for the DAC application.

applicationVersion
Version

Version of the DAC application.

applicationDescription
String

Optional string summary of the DAC application.

Exceptions

If any of the required arguments are null or zero-length strings.

Applies to

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

Add DAC registration information for the specified target database.

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)

Parameters

targetDatabaseName
String

Name of the database for which to add registration information.

modelStorageType
DacSchemaModelStorageType

Specifies the type of backing storage for a schema model.

applicationName
String

String identifier for the DAC application.

applicationVersion
Version

Version of the DAC application.

applicationDescription
String

Optional string summary of the DAC application.

Exceptions

If any of the required arguments are null or zero-length strings.

Applies to