SyncAgent 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
SyncAgent() |
Initializes a new instance of the SyncAgent class. |
SyncAgent(String, String, String, String, String, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<DateTime>, String) |
Initializes a new instance of the SyncAgent class. |
SyncAgent()
Initializes a new instance of the SyncAgent class.
public SyncAgent ();
Public Sub New ()
Applies to
SyncAgent(String, String, String, String, String, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<DateTime>, String)
Initializes a new instance of the SyncAgent class.
public SyncAgent (string id = default, string name = default, string type = default, string syncAgentName = default, string syncDatabaseId = default, DateTime? lastAliveTime = default, string state = default, bool? isUpToDate = default, DateTime? expiryTime = default, string version = default);
new Microsoft.Azure.Management.Sql.Models.SyncAgent : string * string * string * string * string * Nullable<DateTime> * string * Nullable<bool> * Nullable<DateTime> * string -> Microsoft.Azure.Management.Sql.Models.SyncAgent
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional syncAgentName As String = Nothing, Optional syncDatabaseId As String = Nothing, Optional lastAliveTime As Nullable(Of DateTime) = Nothing, Optional state As String = Nothing, Optional isUpToDate As Nullable(Of Boolean) = Nothing, Optional expiryTime As Nullable(Of DateTime) = Nothing, Optional version As String = Nothing)
Parameters
- id
- String
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- syncAgentName
- String
Name of the sync agent.
- syncDatabaseId
- String
ARM resource id of the sync database in the sync agent.
- state
- String
State of the sync agent. Possible values include: 'Online', 'Offline', 'NeverConnected'
- version
- String
Version of the sync agent.