public override void ExecuteCmdlet() { base.ExecuteCmdlet(); if (connCmdlet != null) { WriteObject(connCmdlet.ProcessConnectionInfoCmdlet()); } else { throw new PSArgumentException("Invalid Argument List"); } }
public override void ExecuteCmdlet() { if (ShouldProcess(this.ServerType.ToString(), Resources.createDbInfo)) { base.ExecuteCmdlet(); if (connCmdlet != null) { WriteObject(connCmdlet.ProcessConnectionInfoCmdlet()); } else { throw new PSArgumentException("Invalid Argument List"); } } }