public DeleteGateway ( string resourceGroupName, string dataFactoryName, string gatewayName ) : void | ||
resourceGroupName | string | |
dataFactoryName | string | |
gatewayName | string | |
리턴 | void |
public override void ExecuteCmdlet() { if (ParameterSetName == ByFactoryObject) { if (DataFactory == null) { throw new PSArgumentNullException(string.Format(CultureInfo.InvariantCulture, Resources.DataFactoryArgumentInvalid)); } DataFactoryName = DataFactory.DataFactoryName; ResourceGroupName = DataFactory.ResourceGroupName; } ConfirmAction( Force.IsPresent, string.Format( CultureInfo.InvariantCulture, Resources.DataFactoryGatewayConfirmationMessage, Name, DataFactoryName), string.Format( CultureInfo.InvariantCulture, Resources.DataFactoryGatewayRemoving, Name, DataFactoryName), Name, () => DataFactoryClient.DeleteGateway(ResourceGroupName, DataFactoryName, Name)); WriteObject(true); }