你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmSqlModelFactory.SyncAgentLinkedDatabase Method
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 SyncAgentLinkedDatabase.
public static Azure.ResourceManager.Sql.Models.SyncAgentLinkedDatabase SyncAgentLinkedDatabase (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.SyncMemberDbType? databaseType = default, Guid? databaseId = default, string description = default, string serverName = default, string databaseName = default, string userName = default);
static member SyncAgentLinkedDatabase : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Sql.Models.SyncMemberDbType> * Nullable<Guid> * string * string * string * string -> Azure.ResourceManager.Sql.Models.SyncAgentLinkedDatabase
Public Shared Function SyncAgentLinkedDatabase (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional databaseType As Nullable(Of SyncMemberDbType) = Nothing, Optional databaseId As Nullable(Of Guid) = Nothing, Optional description As String = Nothing, Optional serverName As String = Nothing, Optional databaseName As String = Nothing, Optional userName As String = Nothing) As SyncAgentLinkedDatabase
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- databaseType
- Nullable<SyncMemberDbType>
Type of the sync agent linked database.
- description
- String
Description of the sync agent linked database.
- serverName
- String
Server name of the sync agent linked database.
- databaseName
- String
Database name of the sync agent linked database.
- userName
- String
User name of the sync agent linked database.
Returns
A new SyncAgentLinkedDatabase instance for mocking.