AzureSqlServerAdapter.GetServer 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.
Overloads
GetServer(String, String) | |
GetServer(String, String, String) |
Gets a server in a resource group |
GetServer(String, String, String, String) |
Gets a server in a resource group |
GetServer(String, String)
public Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel GetServer (string resourceGroupName, string serverName);
member this.GetServer : string * string -> Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel
Public Function GetServer (resourceGroupName As String, serverName As String) As AzureSqlServerModel
Parameters
- resourceGroupName
- String
- serverName
- String
Returns
Applies to
GetServer(String, String, String)
Gets a server in a resource group
public Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel GetServer (string resourceGroupName, string serverName, string expand = default);
member this.GetServer : string * string * string -> Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel
Public Function GetServer (resourceGroupName As String, serverName As String, Optional expand As String = Nothing) As AzureSqlServerModel
Parameters
- resourceGroupName
- String
The name of the resource group
- serverName
- String
The name of the server
- expand
- String
The child resources to include in the response.
Returns
The server
Applies to
GetServer(String, String, String, String)
Gets a server in a resource group
public Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel GetServer (string resourceGroupName, string serverName, string expand = default, string subscriptionId = default);
member this.GetServer : string * string * string * string -> Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel
Public Function GetServer (resourceGroupName As String, serverName As String, Optional expand As String = Nothing, Optional subscriptionId As String = Nothing) As AzureSqlServerModel
Parameters
- resourceGroupName
- String
The name of the resource group
- serverName
- String
The name of the server
- expand
- String
The child resources to include in the response.
- subscriptionId
- String
The subscription id of the server.
Returns
The server