Delen via


SqlExtensions.GetSqlServerTrustGroups Method

Definition

Gets a collection of SqlServerTrustGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSqlServerTrustGroups(AzureLocation) instead.

public static Azure.ResourceManager.Sql.SqlServerTrustGroupCollection GetSqlServerTrustGroups (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation locationName);
static member GetSqlServerTrustGroups : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation -> Azure.ResourceManager.Sql.SqlServerTrustGroupCollection
<Extension()>
Public Function GetSqlServerTrustGroups (resourceGroupResource As ResourceGroupResource, locationName As AzureLocation) As SqlServerTrustGroupCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

locationName
AzureLocation

The name of the region where the resource is located.

Returns

An object representing collection of SqlServerTrustGroupResources and their operations over a SqlServerTrustGroupResource.

Exceptions

resourceGroupResource is null.

Applies to