共用方式為


SecurityCenterExtensions.GetSensitivitySetting(TenantResource) Method

Definition

Gets an object representing a SensitivitySettingResource along with the instance operations that can be performed on it in the TenantResource. MockingTo mock this method, please mock GetSensitivitySetting() instead.

public static Azure.ResourceManager.SecurityCenter.SensitivitySettingResource GetSensitivitySetting (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetSensitivitySetting : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.SecurityCenter.SensitivitySettingResource
<Extension()>
Public Function GetSensitivitySetting (tenantResource As TenantResource) As SensitivitySettingResource

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

Returns a SensitivitySettingResource object.

Exceptions

tenantResource is null.

Applies to