Partager via


SyncMemberProperties Class

Definition

Represent the properties of a sync member.

public class SyncMemberProperties
type SyncMemberProperties = class
Public Class SyncMemberProperties
Inheritance
SyncMemberProperties

Constructors

SyncMemberProperties()

Initializes a new instance of the SyncMemberProperties class.

Properties

DatabaseName

Optional. The Azure SQL Server database name of the member database.

DatabaseType

Optional. The database type. Possible values: 'SqlServerDatabase', 'AzureSqlDatabase'. When the type is 'SqlServerDatabase', SyncAgentId and SqlServerDatabaseId should be specified. When the type is 'AzureSqlDatabase', MemberServerName, MemberDatabaseName and Credential should be specified.

ServerName

Optional. The Azure SQL Server Name of the member database.

SqlServerDatabaseId

Optional. The id of the SQL server database which is connected by the sync agent.

SyncAgentId

Optional. The resource id of the sync agent

SyncDirection

Optional. Specifies the sync direction of doing data synchronization for this sync member. The possible values: 'Bidirectional', 'OneWayMemberToHub' and 'OneWayHubToMember.

SyncState

Optional. The sync state of a sync member. The possible values: Enum ('NotReady', 'Error', 'Warning', 'Processing', 'Good').

UserName

Optional. The user name of Azure SQL database.

Applies to