INetworkSecurityGroupOperations::GetForSubnetAsync Method (String^, String^, CancellationToken)

 

Gets the Network Security Group applied to a specific subnet.

Namespace:   Microsoft.WindowsAzure.Management.Network
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Task<NetworkSecurityGroupGetForSubnetResponse^>^ GetForSubnetAsync(
	String^ virtualNetworkName,
	String^ subnetName,
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.Threading::CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks::Task<NetworkSecurityGroupGetForSubnetResponse^>^

The Network Security Group associated with a subnet.

Return to top
Show: