IFirewallRuleOperations.GetAsync Method
Returns the Firewall rule for an Azure SQL Database Server with a matching name.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Usage
'Usage
Dim instance As IFirewallRuleOperations
Dim serverName As String
Dim ruleName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of FirewallRuleGetResponse)
returnValue = instance.GetAsync(serverName, ruleName, cancellationToken)
Syntax
'Declaration
Function GetAsync ( _
serverName As String, _
ruleName As String, _
cancellationToken As CancellationToken _
) As Task(Of FirewallRuleGetResponse)
Task<FirewallRuleGetResponse> GetAsync (
string serverName,
string ruleName,
CancellationToken cancellationToken
)
Task<FirewallRuleGetResponse^>^ GetAsync (
String^ serverName,
String^ ruleName,
CancellationToken cancellationToken
)
Task<FirewallRuleGetResponse> GetAsync (
String serverName,
String ruleName,
CancellationToken cancellationToken
)
function GetAsync (
serverName : String,
ruleName : String,
cancellationToken : CancellationToken
) : Task<FirewallRuleGetResponse>
Parameters
- serverName
The name of the Azure SQL Database Server to query for the Firewall Rule.
- ruleName
The name of the rule to retrieve.
- cancellationToken
Cancellation token.
Return Value
Contains the response from a request to Get Firewall Rule.
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
IFirewallRuleOperations Interface
IFirewallRuleOperations Members
Microsoft.WindowsAzure.Management.Sql Namespace