你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureSqlDataSyncAdapter.CreateSyncAgentModelFromResponse 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.
Converts the response from the service to a powershell sync agent object
public static Microsoft.Azure.Commands.Sql.DataSync.Model.AzureSqlSyncAgentModel CreateSyncAgentModelFromResponse (string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgent syncAgent);
static member CreateSyncAgentModelFromResponse : string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgent -> Microsoft.Azure.Commands.Sql.DataSync.Model.AzureSqlSyncAgentModel
Public Shared Function CreateSyncAgentModelFromResponse (resourceGroupName As String, serverName As String, syncAgent As SyncAgent) As AzureSqlSyncAgentModel
Parameters
- resourceGroupName
- String
The resource group the agent is in
- serverName
- String
The server name
- syncAgent
- SyncAgent
The sync agent object from the response
Returns
The converted model