共用方式為


SyncMemberInner Constructors

Definition

Overloads

SyncMemberInner()

Initializes a new instance of the SyncMemberInner class.

SyncMemberInner(String, String, String, SyncMemberDbType, String, Nullable<Guid>, String, String, String, String, SyncDirection, SyncMemberState)

Initializes a new instance of the SyncMemberInner class.

SyncMemberInner()

Initializes a new instance of the SyncMemberInner class.

public SyncMemberInner ();
Public Sub New ()

Applies to

SyncMemberInner(String, String, String, SyncMemberDbType, String, Nullable<Guid>, String, String, String, String, SyncDirection, SyncMemberState)

Initializes a new instance of the SyncMemberInner class.

public SyncMemberInner (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Sql.Fluent.Models.SyncMemberDbType databaseType = default, string syncAgentId = default, Guid? sqlServerDatabaseId = default, string serverName = default, string databaseName = default, string userName = default, string password = default, Microsoft.Azure.Management.Sql.Fluent.Models.SyncDirection syncDirection = default, Microsoft.Azure.Management.Sql.Fluent.Models.SyncMemberState syncState = default);
new Microsoft.Azure.Management.Sql.Fluent.Models.SyncMemberInner : string * string * string * Microsoft.Azure.Management.Sql.Fluent.Models.SyncMemberDbType * string * Nullable<Guid> * string * string * string * string * Microsoft.Azure.Management.Sql.Fluent.Models.SyncDirection * Microsoft.Azure.Management.Sql.Fluent.Models.SyncMemberState -> Microsoft.Azure.Management.Sql.Fluent.Models.SyncMemberInner
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional databaseType As SyncMemberDbType = Nothing, Optional syncAgentId As String = Nothing, Optional sqlServerDatabaseId As Nullable(Of Guid) = Nothing, Optional serverName As String = Nothing, Optional databaseName As String = Nothing, Optional userName As String = Nothing, Optional password As String = Nothing, Optional syncDirection As SyncDirection = Nothing, Optional syncState As SyncMemberState = Nothing)

Parameters

id
String
name
String
type
String
databaseType
SyncMemberDbType

Database type of the sync member. Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase'

syncAgentId
String

ARM resource id of the sync agent in the sync member.

sqlServerDatabaseId
Nullable<Guid>

SQL Server database id of the sync member.

serverName
String

Server name of the member database in the sync member

databaseName
String

Database name of the member database in the sync member.

userName
String

User name of the member database in the sync member.

password
String

Password of the member database in the sync member.

syncDirection
SyncDirection

Sync direction of the sync member. Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember'

syncState
SyncMemberState

Sync state of the sync member. Possible values include: 'SyncInProgress', 'SyncSucceeded', 'SyncFailed', 'DisabledTombstoneCleanup', 'DisabledBackupRestore', 'SyncSucceededWithWarnings', 'SyncCancelling', 'SyncCancelled', 'UnProvisioned', 'Provisioning', 'Provisioned', 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned', 'DeProvisionFailed', 'Reprovisioning', 'ReprovisionFailed', 'UnReprovisioned'

Applies to