AzureSqlServerAdapter.ListServers 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
ListServers() | |
ListServers(String) |
Gets a list of all the servers in a subscription |
ListServers()
public System.Collections.Generic.List<Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel> ListServers ();
member this.ListServers : unit -> System.Collections.Generic.List<Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel>
Public Function ListServers () As List(Of AzureSqlServerModel)
Returns
Applies to
ListServers(String)
Gets a list of all the servers in a subscription
public System.Collections.Generic.List<Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel> ListServers (string expand = default);
member this.ListServers : string -> System.Collections.Generic.List<Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel>
Public Function ListServers (Optional expand As String = Nothing) As List(Of AzureSqlServerModel)
Parameters
- expand
- String
The child resources to include in the response.
Returns
A list of all the servers