SqlMITargetProperties Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SqlMITargetProperties.
public SqlMITargetProperties(Azure.ResourceManager.DatabaseWatcher.Models.TargetAuthenticationType targetAuthenticationType, string connectionServerName, Azure.Core.ResourceIdentifier sqlMiResourceId);
new Azure.ResourceManager.DatabaseWatcher.Models.SqlMITargetProperties : Azure.ResourceManager.DatabaseWatcher.Models.TargetAuthenticationType * string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DatabaseWatcher.Models.SqlMITargetProperties
Public Sub New (targetAuthenticationType As TargetAuthenticationType, connectionServerName As String, sqlMiResourceId As ResourceIdentifier)
Parameters
- targetAuthenticationType
- TargetAuthenticationType
The type of authentication to use when connecting to a target.
- connectionServerName
- String
The FQDN host name of the server to use in the connection string when connecting to a target. For example, for an Azure SQL logical server in the Azure commercial cloud, the value might be 'sql-logical-server-22092780.database.windows.net'; for an Azure SQL managed instance in the Azure commercial cloud, the value might be 'sql-mi-39441134.767d5869f605.database.windows.net'. Port number and instance name must be specified separately.
- sqlMiResourceId
- ResourceIdentifier
The Azure resource ID of an Azure SQL Managed Instance target.
Exceptions
connectionServerName or sqlMiResourceId is null.