Database Constructors
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.
Overloads
Database() |
Initializes a new instance of the Database class. |
Database(String, String, String, String, String, String, String, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, String, String) |
Initializes a new instance of the Database class. |
Database()
Initializes a new instance of the Database class.
public Database ();
Public Sub New ()
Applies to
Database(String, String, String, String, String, String, String, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, String, String)
Initializes a new instance of the Database class.
public Database (string id = default, string name = default, string compatibilityLevel = default, string collation = default, string serverName = default, string fqdn = default, string installId = default, string serverVersion = default, string serverEdition = default, string serverLevel = default, string serverDefaultDataPath = default, string serverDefaultLogPath = default, string serverDefaultBackupPath = default, int? serverCoreCount = default, int? serverVisibleOnlineCoreCount = default, string databaseState = default, string serverId = default);
new Microsoft.Azure.Management.DataMigration.Models.Database : string * string * string * string * string * string * string * string * string * string * string * string * string * Nullable<int> * Nullable<int> * string * string -> Microsoft.Azure.Management.DataMigration.Models.Database
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional compatibilityLevel As String = Nothing, Optional collation As String = Nothing, Optional serverName As String = Nothing, Optional fqdn As String = Nothing, Optional installId As String = Nothing, Optional serverVersion As String = Nothing, Optional serverEdition As String = Nothing, Optional serverLevel As String = Nothing, Optional serverDefaultDataPath As String = Nothing, Optional serverDefaultLogPath As String = Nothing, Optional serverDefaultBackupPath As String = Nothing, Optional serverCoreCount As Nullable(Of Integer) = Nothing, Optional serverVisibleOnlineCoreCount As Nullable(Of Integer) = Nothing, Optional databaseState As String = Nothing, Optional serverId As String = Nothing)
Parameters
- id
- String
Unique identifier for the database
- name
- String
Name of the database
- compatibilityLevel
- String
SQL Server compatibility level of database Possible values include: 'CompatLevel80', 'CompatLevel90', 'CompatLevel100', 'CompatLevel110', 'CompatLevel120', 'CompatLevel130', 'CompatLevel140'
- collation
- String
Collation name of the database
- serverName
- String
Name of the server
- fqdn
- String
Fully qualified name
- installId
- String
Install id of the database
- serverVersion
- String
Version of the server
- serverEdition
- String
Edition of the server
- serverLevel
- String
Product level of the server (RTM, SP, CTP).
- serverDefaultDataPath
- String
Default path of the data files
- serverDefaultLogPath
- String
Default path of the log files
- serverDefaultBackupPath
- String
Default path of the backup folder
Number of cores on the server that have VISIBLE ONLINE status
- databaseState
- String
State of the database Possible values include: 'Online', 'Restoring', 'Recovering', 'RecoveryPending', 'Suspect', 'Emergency', 'Offline', 'Copying', 'OfflineSecondary'
- serverId
- String
The unique Server Id