IServerOperations.ListAsync Method
Returns all SQL Database Servers that are provisioned for a subscription.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Usage
'Usage
Dim instance As IServerOperations
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of ServerListResponse)
returnValue = instance.ListAsync(cancellationToken)
Syntax
'Declaration
Function ListAsync ( _
cancellationToken As CancellationToken _
) As Task(Of ServerListResponse)
Task<ServerListResponse> ListAsync (
CancellationToken cancellationToken
)
Task<ServerListResponse^>^ ListAsync (
CancellationToken cancellationToken
)
Task<ServerListResponse> ListAsync (
CancellationToken cancellationToken
)
function ListAsync (
cancellationToken : CancellationToken
) : Task<ServerListResponse>
Parameters
- cancellationToken
Cancellation token.
Return Value
The response structure for the Server List operation. Contains a list of all the servers in a subscription.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
IServerOperations Interface
IServerOperations Members
Microsoft.WindowsAzure.Management.Sql Namespace